|
|
|
|
@ -67,6 +67,10 @@ namespace ICSharpCode.AvalonEdit.AddIn
@@ -67,6 +67,10 @@ namespace ICSharpCode.AvalonEdit.AddIn
|
|
|
|
|
this.delayMoveTimer.Stop(); |
|
|
|
|
this.delayMoveTimer.Tick += TimerMoveTick; |
|
|
|
|
this.editorView.TextArea.Caret.PositionChanged += CaretPositionChanged; |
|
|
|
|
// fixes SD-1873 - Unhandled WPF Exception when deleting text in text editor
|
|
|
|
|
// clear highlights to avoid exceptions when trying to draw highlights in
|
|
|
|
|
// locations that have been deleted already.
|
|
|
|
|
this.editorView.Document.Changed += delegate { lastResolveResult = null; ClearHighlight(); }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void ClearHighlight() |
|
|
|
|
|