aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index c1b330e61..5fd06cd16 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1167,10 +1167,9 @@ void ScintillaWin::SelectionToHangul() {
if (converted) {
documentStr = StringEncode(uniStr, CodePageOfDocument());
- pdoc->BeginUndoAction();
+ UndoGroup ug(pdoc);
ClearSelection();
InsertPaste(&documentStr[0], documentStr.size());
- pdoc->EndUndoAction();
}
}
}