diff --git a/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextAreaControl.cs b/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextAreaControl.cs index 5419970efa..36d85741a1 100644 --- a/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextAreaControl.cs +++ b/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextAreaControl.cs @@ -301,6 +301,8 @@ namespace ICSharpCode.TextEditor if (motherTextEditorControl.IsInUpdate) { scrollToPosOnNextUpdate = new Point(column, line); return; + } else { + scrollToPosOnNextUpdate = Point.Empty; } int curCharMin = (int)(this.hScrollBar.Value - this.hScrollBar.Minimum); int curCharMax = curCharMin + textArea.TextView.VisibleColumnCount;