diff options
author | johnsonj <unknown> | 2015-09-10 13:52:09 +1000 |
---|---|---|
committer | johnsonj <unknown> | 2015-09-10 13:52:09 +1000 |
commit | ff2941bf96e00eec62d51bc0d80679c5d3b356f6 (patch) | |
tree | cd12e5997d8b03ed323d390b0a934c5f0bd0d258 /win32 | |
parent | c2344b6ad906d5b7222dc5c436751342e6108838 (diff) | |
download | scintilla-mirror-ff2941bf96e00eec62d51bc0d80679c5d3b356f6.tar.gz |
Fix IME caret movements for emoji.
Diffstat (limited to 'win32')
-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; |