aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authorjohnsonj <unknown>2019-07-17 15:49:13 +1000
committerjohnsonj <unknown>2019-07-17 15:49:13 +1000
commit2611e5b22a15ee64a4627cc7d3d814b78993495f (patch)
tree5fbfe6a926639c4b304ecfc076e26989b6f9cb97 /win32/ScintillaWin.cxx
parentd273fb8b169cd9b4b7f6a24ff9b5f60e886376f4 (diff)
downloadscintilla-mirror-2611e5b22a15ee64a4627cc7d3d814b78993495f.tar.gz
Feature [feature-requests:#1300] part 5. Stop Google IME on Windows 7 moving
while typing.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 487b2bc02..98ea15cea 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1914,6 +1914,11 @@ void ScintillaWin::NotifyCaretMove() {
void ScintillaWin::UpdateSystemCaret() {
if (hasFocus) {
+ if (pdoc->TentativeActive()) {
+ // ongoing inline mode IME composition, don't inform IME of system caret position.
+ // fix candidate window for Google Japanese IME moved on typing on Win7.
+ return;
+ }
if (HasCaretSizeChanged()) {
DestroySystemCaret();
CreateSystemCaret();