From 5feb3f8ea47e2628249300575ff207a04b67eca4 Mon Sep 17 00:00:00 2001 From: johnsonj Date: Wed, 17 Jul 2019 15:49:13 +1000 Subject: Backport: Feature [feature-requests:#1300] part 5. Stop Google IME on Windows 7 moving while typing. Backport of changeset 7687:785372d12384. --- win32/ScintillaWin.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 67cbd2d79..f4d7300e3 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1908,6 +1908,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(); -- cgit v1.2.3