diff options
| author | johnsonj <unknown> | 2015-07-28 18:44:13 +1000 |
|---|---|---|
| committer | johnsonj <unknown> | 2015-07-28 18:44:13 +1000 |
| commit | c1955f280084e316a587fa10469e4296ffc7371c (patch) | |
| tree | dbb56bb77e003a4ed7dbad037214aa4533fce6c0 /gtk | |
| parent | 478d819121d970ca773cb52c99f396a9bf73ee62 (diff) | |
| download | scintilla-mirror-c1955f280084e316a587fa10469e4296ffc7371c.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.cxx | 1 |
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 (...) { |
