Skip to content

Commit 45e937b

Browse files
author
Sébastien Geiser
committed
Do not clear the text of the current scintilla before replace it. For better cancel redo management in Npp
1 parent 23bc700 commit 45e937b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CSharpRegexTools4Npp/BNpp.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public static string Text
5151
set
5252
{
5353
IScintillaGateway scintilla = new ScintillaGateway(PluginBase.GetCurrentScintilla());
54-
scintilla.ClearAll();
5554
string text = BEncoding.GetScintillaTextFromUtf8Text(value, out int length);
5655
scintilla.SetText(text);
5756
}

0 commit comments

Comments
 (0)