aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
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 /gtk
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 'gtk')
-rw-r--r--gtk/ScintillaGTK.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index d08b944c8..c60554a23 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -2584,6 +2584,7 @@ void ScintillaGTK::PreeditChangedInlineThis() {
MoveImeCarets( - (imeCharPos[preeditStr.uniStrLen]) + imeCharPos[preeditStr.cursor_pos]);
}
+ EnsureCaretVisible();
SetCandidateWindowPos();
ShowCaretAtCurrentPosition();
} catch (...) {