Index: src/DeltaShell/DeltaShell.Plugins.CommonTools.Gui/Forms/TextDocumentView.cs =================================================================== diff -u -rc681de56bb7c40d7c5802f2993feb4aa61c2e1d2 -r8edbe5e2130c81b456385607891c6ef98928f88e --- src/DeltaShell/DeltaShell.Plugins.CommonTools.Gui/Forms/TextDocumentView.cs (.../TextDocumentView.cs) (revision c681de56bb7c40d7c5802f2993feb4aa61c2e1d2) +++ src/DeltaShell/DeltaShell.Plugins.CommonTools.Gui/Forms/TextDocumentView.cs (.../TextDocumentView.cs) (revision 8edbe5e2130c81b456385607891c6ef98928f88e) @@ -7,6 +7,8 @@ using DelftTools.Controls; using DelftTools.Utils; using DelftTools.Utils.Aop; +using DelftTools.Utils.Editing; +using DeltaShell.Plugins.CommonTools.Gui.Properties; namespace DeltaShell.Plugins.CommonTools.Gui.Forms { @@ -79,7 +81,9 @@ { settingContent = true; + textDocument.BeginEdit(new DefaultEditAction(Resources.TextDocumentView_OnVisibleChanged_Edit_text__ + characters)); textDocument.Content = textBox.Text; + textDocument.EndEdit(); characters = ""; settingContent = false; @@ -148,7 +152,9 @@ { settingContent = true; + textDocument.BeginEdit(new DefaultEditAction(Resources.TextDocumentView_OnVisibleChanged_Edit_text__ + characters)); textDocument.Content = textBox.Text; + textDocument.EndEdit(); characters = ""; timer.Stop();