From fef842b1b6a360e5cdb682fc483f934b43c8a023 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 8 Jul 2004 05:59:42 +0000 Subject: Prevent moving the IME window and dropping the caret on Windows NT when it has already consumed characters from the IME. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3