diff options
| author | johnsonj <devnull@localhost> | 2016-03-10 15:17:37 +1100 |
|---|---|---|
| committer | johnsonj <devnull@localhost> | 2016-03-10 15:17:37 +1100 |
| commit | 94993ac4348d39853278b082f75e5be26a3f8478 (patch) | |
| tree | c5d850066596387a79a63a11ede2c260abc0d215 /gtk | |
| parent | 151300db3b2f3f16e4b982aa553b535e95aca41f (diff) | |
| download | scintilla-mirror-94993ac4348d39853278b082f75e5be26a3f8478.tar.gz | |
Fix caret position bug on Qt and Gtk for win32 for Korean.
Diffstat (limited to 'gtk')
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index dc5f08257..25e160510 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2485,7 +2485,9 @@ void ScintillaGTK::PreeditChangedInlineThis() { MoveImeCarets( - (imeCharPos[preeditStr.uniStrLen]) + imeCharPos[preeditStr.cursor_pos]); if (KoreanIME()) { +#if !PLAT_GTK_WIN32 MoveImeCarets( - imeCharPos[1]); // always 2 bytes for DBCS or 3 bytes for UTF8. +#endif view.imeCaretBlockOverride = true; } |
