aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authorjohnsonj <devnull@localhost>2015-07-28 18:44:13 +1000
committerjohnsonj <devnull@localhost>2015-07-28 18:44:13 +1000
commit9c027d7cc95178255ef39bd09dc47457864ee4a6 (patch)
treebe5264c3ae2e353833d976c6795b5932792c3da4 /win32
parent8b9c9c1375d6a65b8dca0562b00079e15fd90bb4 (diff)
downloadscintilla-mirror-9c027d7cc95178255ef39bd09dc47457864ee4a6.tar.gz
Avoid candidate box randomly popping up away from edit pane with (especially
Japanese) IME input.
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index d25cd51d8..db1e2b4d9 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1068,6 +1068,7 @@ sptr_t ScintillaWin::HandleCompositionInline(uptr_t, sptr_t lParam) {
i += ucWidth;
}
}
+ EnsureCaretVisible();
SetCandidateWindowPos();
ShowCaretAtCurrentPosition();
::ImmReleaseContext(MainHWND(), hIMC);