Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2013-08-13 15:12:27 +0400
committerMike Krüger <mkrueger@xamarin.com>2013-08-13 15:12:27 +0400
commit539ecd42abc674d921eec9ffc3fb008355b10815 (patch)
tree2c0a8bcdbcc594789273ff40b8c242c174e12774 /main/src/core/Mono.Texteditor
parenta9616f7a55eda0cd4712f04c8c51f7b95e5131a2 (diff)
[TextEditor] Disabled multi line coordinate translation.
Diffstat (limited to 'main/src/core/Mono.Texteditor')
-rw-r--r--main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs
index 071452db78..78405ffc50 100644
--- a/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs
+++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs
@@ -2886,8 +2886,9 @@ namespace Mono.TextEditor
xp *= Pango.Scale.PangoScale;
if (xp < 0)
return new DocumentLocation (lineNumber, DocumentLocation.MinColumn);
- yp -= margin.LineToY (lineNumber);
- yp *= Pango.Scale.PangoScale;
+ yp = 0;
+// yp -= margin.LineToY (lineNumber);
+// yp *= Pango.Scale.PangoScale;
int column = DocumentLocation.MinColumn;
ISyntaxMode mode = margin.Document.SyntaxMode != null && margin.textEditor.Options.EnableSyntaxHighlighting ? margin.Document.SyntaxMode : new SyntaxMode (margin.Document);
IEnumerable<FoldSegment> foldings = margin.Document.GetStartFoldings (line);