diff options
| author | Zufu Liu <unknown> | 2019-11-16 07:53:52 +1100 |
|---|---|---|
| committer | Zufu Liu <unknown> | 2019-11-16 07:53:52 +1100 |
| commit | 8fca4d7b901ad3fdcd984d491019aaaeeed720cd (patch) | |
| tree | 128c28fd28d83bbc37a8265819bec17c7c6cd8e2 /win32 | |
| parent | 51e1fa7591f0b670f9b8c0486b5fbb53d1cc5531 (diff) | |
| download | scintilla-mirror-8fca4d7b901ad3fdcd984d491019aaaeeed720cd.tar.gz | |
Bug [#2137]. Clear IME state when switching language.
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/ScintillaWin.cxx | 3 |
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(); } |
