diff --git a/src/Main/Base/Project/Src/TextEditor/Gui/Editor/IncrementalSearch.cs b/src/Main/Base/Project/Src/TextEditor/Gui/Editor/IncrementalSearch.cs index 3b59a2840c..a255a0a0f7 100644 --- a/src/Main/Base/Project/Src/TextEditor/Gui/Editor/IncrementalSearch.cs +++ b/src/Main/Base/Project/Src/TextEditor/Gui/Editor/IncrementalSearch.cs @@ -19,7 +19,6 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor { bool disposed; TextEditorControl textEditor; - Cursor previousCursor; IFormattingStrategy previousFormattingStrategy; string incrementalSearchStartMessage; @@ -369,7 +368,6 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor /// void EnableIncrementalSearchCursor() { - previousCursor = TextArea.Cursor; Cursor cursor = GetCursor(); TextArea.Cursor = cursor; TextArea.TextView.Cursor = cursor; @@ -377,8 +375,8 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor void DisableIncrementalSearchCursor() { - TextArea.Cursor = previousCursor; - TextArea.TextView.Cursor = previousCursor; + TextArea.Cursor = Cursors.IBeam; + TextArea.TextView.Cursor = Cursors.IBeam; } ///