diff options
author | nyamatongwe <devnull@localhost> | 2004-07-08 05:59:42 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-07-08 05:59:42 +0000 |
commit | afe10f2a79ac38e9cc29e9ba2e36ca4224f5295f (patch) | |
tree | 2cddb1bbedd08095ea486e01c2ae63086717ca19 /win32/ScintillaWin.cxx | |
parent | 03208bd5aed5b028efc514af5e2c0d5609726603 (diff) | |
download | scintilla-mirror-afe10f2a79ac38e9cc29e9ba2e36ca4224f5295f.tar.gz |
Prevent moving the IME window and dropping the caret on
Windows NT when it has already consumed characters from
the IME.
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 c3b66176f..e7a57ae9c 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -458,7 +458,7 @@ sptr_t ScintillaWin::HandleComposition(uptr_t wParam, sptr_t lParam) { } else { ret = ::DefWindowProc(MainHWND(), WM_IME_COMPOSITION, wParam, lParam); } - if ((lParam & GCS_RESULTSTR)) { + if ((lParam & GCS_RESULTSTR) && (!IsNT())) { HIMC hIMC = ::ImmGetContext(MainHWND()); Point pos = LocationFromPosition(currentPos); COMPOSITIONFORM CompForm; |