patch for Korean IME

73 views
Skip to first unread message

Sang-Min Yoon

unread,
Nov 15, 2007, 8:50:18 AM11/15/07
to scintilla...@googlegroups.com
While inputing Korean string, intermediate characters must be shown on
the cursor.

( '' -> key press r -> 'ㄱ' -> key press k -> '가' -> key press r ->
'각' -> any key -> '각' is inserted )

But the current Scintilla does not show intermediate characters, but
the result character.
And the default IME window that shows intermediate characters is
appeared out of the application window. (left-top of the screen)

So I made a patch for this problem.
It checks the input locale, so it does not affect other environments.

korean_ime_patch.txt

Neil Hodgson

unread,
Nov 15, 2007, 9:05:23 PM11/15/07
to scintilla...@googlegroups.com
Sang-Min Yoon:

> But the current Scintilla does not show intermediate characters, but
> the result character.
> And the default IME window that shows intermediate characters is
> appeared out of the application window. (left-top of the screen)
>
> So I made a patch for this problem.
> It checks the input locale, so it does not affect other environments.

OK. The patch will be applied after 1.75 is released.

Neil

Neil Hodgson

unread,
Nov 27, 2007, 8:41:54 PM11/27/07
to scintilla...@googlegroups.com
Sang-Min Yoon:

> While inputing Korean string, intermediate characters must be shown on
> the cursor.
>
> ( '' -> key press r -> 'ㄱ' -> key press k -> '가' -> key press r ->
> '각' -> any key -> '각' is inserted )
>
> But the current Scintilla does not show intermediate characters, but
> the result character.

This is how the IME is supposed to work according to Microsoft
documentation with intermediate characters shown in the composition
window and only GCS_RESULTSTR text going into the document.
http://www.microsoft.com/globaldev/getWR/steps/WRG_kybrd.mspx

> And the default IME window that shows intermediate characters is
> appeared out of the application window. (left-top of the screen)

The initial window is outside Scintilla but typing further
characters places the IME window next to the caret.

The Japanese IME shows the composition window at the correct place
in Scintilla.

Neil

Reply all
Reply to author
Forward
0 new messages