diff options
Diffstat (limited to 'main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs')
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs index f69c94d427..a60ae490f5 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs @@ -815,6 +815,7 @@ namespace Mono.TextEditor operation.Undo (this); isInUndo = false; OnUndone (new UndoOperationEventArgs (operation)); + CommitDocumentUpdate (); } public void RollbackTo (ICSharpCode.NRefactory.Editor.ITextSourceVersion version) @@ -861,6 +862,7 @@ namespace Mono.TextEditor operation.Redo (this); isInUndo = false; OnRedone (new UndoOperationEventArgs (operation)); + CommitDocumentUpdate (); } internal protected virtual void OnRedone (UndoOperationEventArgs e) |