diff options
author | Cody Russell <cody@jhu.edu> | 2015-06-08 21:00:51 +0300 |
---|---|---|
committer | Cody Russell <cody@jhu.edu> | 2015-06-22 21:51:25 +0300 |
commit | 5ca19d0367382abc17a55fc02a928ae830332d88 (patch) | |
tree | 1c8747b2cc53dbf30478b6516355fcf3eec0f9ce /main/src/addins/MonoDevelop.SourceEditor2 | |
parent | 18f5cdf514eeb83c0b335f284cc8627928f8ad89 (diff) |
[Debugger] Fix more gtk assertion spew. (followup to fddf69f411303ef62f9266bc0ae10a53713c1a69)
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs index 9517b2688b..7855e35f00 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs @@ -1260,7 +1260,7 @@ namespace MonoDevelop.SourceEditor foreach (PinnedWatchInfo wi in pinnedWatches) { if (wi.Watch == args.Watch) { pinnedWatches.Remove (wi); - widget.TextEditor.Remove (wi.Widget); + widget.TextEditor.TextArea.Remove (wi.Widget); wi.Widget.Destroy (); break; } @@ -1684,7 +1684,7 @@ namespace MonoDevelop.SourceEditor public void DeleteText (int position, int length) { - this.widget.TextEditor.Remove (position, length); + this.widget.TextEditor.TextArea.Remove (position, length); } #endregion |