diff options
| author | johnsonj <devnull@localhost> | 2015-07-28 18:44:13 +1000 |
|---|---|---|
| committer | johnsonj <devnull@localhost> | 2015-07-28 18:44:13 +1000 |
| commit | 9c027d7cc95178255ef39bd09dc47457864ee4a6 (patch) | |
| tree | be5264c3ae2e353833d976c6795b5932792c3da4 /gtk | |
| parent | 8b9c9c1375d6a65b8dca0562b00079e15fd90bb4 (diff) | |
| download | scintilla-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.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 (...) { |
