diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2015-09-14 10:42:04 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2015-09-14 10:42:26 +0300 |
commit | 85a4221ceb310e63139012e1bbde07698f10abf2 (patch) | |
tree | 248a8de221fa27745f3da150f707b8c1fa04c17b | |
parent | e81bf6a82eb4c479b16099f127030d185110fe93 (diff) |
[SourceEditor] Text link edit mode is now atomic.
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs index d0aa9f3e62..924a2ab513 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs @@ -2592,6 +2592,8 @@ namespace MonoDevelop.SourceEditor }; } + var undoOperation = TextEditor.OpenUndoGroup (); + tle.Exited += (object sender, EventArgs e) => undoOperation.Dispose (); tle.StartMode (); TextEditor.CurrentMode = tle; } |