diff options
| author | johnsonj <devnull@localhost> | 2015-09-10 13:52:09 +1000 |
|---|---|---|
| committer | johnsonj <devnull@localhost> | 2015-09-10 13:52:09 +1000 |
| commit | 20992c653d1c66e50ea49369d587d492065977f0 (patch) | |
| tree | c20a2935624ce9a00186b5594c7d48a0158cbba0 /win32/ScintillaWin.cxx | |
| parent | 46912afea40ba01415b3d06273b457a4ff196573 (diff) | |
| download | scintilla-mirror-20992c653d1c66e50ea49369d587d492065977f0.tar.gz | |
Fix IME caret movements for emoji.
Diffstat (limited to 'win32/ScintillaWin.cxx')
| -rw-r--r-- | win32/ScintillaWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 7dd7d410b..f5d675f75 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1031,7 +1031,7 @@ sptr_t ScintillaWin::HandleCompositionInline(uptr_t, sptr_t lParam) { // Record compstr character positions for moving IME carets. numBytes += oneCharLen; - imeCharPos[i + 1] = numBytes; + imeCharPos[i + ucWidth] = numBytes; // Draw an indicator on the character. int indicator = SC_INDICATOR_UNKNOWN; |
