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, 3 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index e3bc4f711..6524ada5a 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -2743,6 +2743,9 @@ void ScintillaWin::ImeStartComposition() {
/** Called when IME Window closed. */
void ScintillaWin::ImeEndComposition() {
+ // clear IME composition state.
+ view.imeCaretBlockOverride = false;
+ pdoc->TentativeUndo();
ShowCaretAtCurrentPosition();
}