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:
Diffstat (limited to 'main/src/core/Mono.Texteditor/Mono.TextEditor/HeightTree.cs')
-rw-r--r--main/src/core/Mono.Texteditor/Mono.TextEditor/HeightTree.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/HeightTree.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/HeightTree.cs
index 7ea191115a..768a4c1a68 100644
--- a/main/src/core/Mono.Texteditor/Mono.TextEditor/HeightTree.cs
+++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/HeightTree.cs
@@ -70,7 +70,9 @@ namespace Mono.TextEditor
void HandleLineRemoved (object sender, LineEventArgs e)
{
- RemoveLine (e.Line.LineNumber);
+ Rebuild ();
+ OnLineUpdateFrom (new HeightChangedEventArgs (e.Line.LineNumber - 1));
+ //RemoveLine (e.Line.LineNumber);
}
public void Dispose ()