diff options
author | nyamatongwe <unknown> | 2004-07-08 05:59:42 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-07-08 05:59:42 +0000 |
commit | fef842b1b6a360e5cdb682fc483f934b43c8a023 (patch) | |
tree | 2cddb1bbedd08095ea486e01c2ae63086717ca19 | |
parent | 72711b389c208f4763f5222d067106a215eeee35 (diff) | |
download | scintilla-mirror-fef842b1b6a360e5cdb682fc483f934b43c8a023.tar.gz |
Prevent moving the IME window and dropping the caret on
Windows NT when it has already consumed characters from
the IME.
-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; |