diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2013-08-13 18:56:30 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2013-08-13 18:56:30 +0400 |
commit | 1e9bfb7a435e1bae6287a1b752f2eef46f8854f2 (patch) | |
tree | fcaa10f3106b88d5c9f49887ccacd0f166b10c7f /main/src/core/Mono.Texteditor | |
parent | a9d0d37aff2d888182bdb3b211c865a134aaf616 (diff) |
[TextEditor] Disable set line height in text view margin (word wrap
feature).
It's too costly atm - the visual line layer should be stored in it's
own tree.
Diffstat (limited to 'main/src/core/Mono.Texteditor')
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs | 2 |
1 files changed, 1 insertions, 1 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 89dfe8469d..01b49242c9 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/TextViewMargin.cs @@ -1080,7 +1080,7 @@ namespace Mono.TextEditor descriptor = new LayoutDescriptor (line, offset, length, wrapper, selectionStart, selectionEnd); if (!containsPreedit) layoutDict [line] = descriptor; - textEditor.GetTextEditorData ().HeightTree.SetLineHeight (line.LineNumber, System.Math.Max (LineHeight, wrapper.Height)); +// textEditor.GetTextEditorData ().HeightTree.SetLineHeight (line.LineNumber, System.Math.Max (LineHeight, wrapper.Height)); return wrapper; } |