From c1955f280084e316a587fa10469e4296ffc7371c Mon Sep 17 00:00:00 2001 From: johnsonj Date: Tue, 28 Jul 2015 18:44:13 +1000 Subject: Avoid candidate box randomly popping up away from edit pane with (especially Japanese) IME input. --- gtk/ScintillaGTK.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk') 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 (...) { -- cgit v1.2.3