Canceling behavior of Japanese IME

37 views
Skip to first unread message

1ch japan

unread,
Mar 3, 2020, 3:34:21 PM3/3/20
to scintilla-interest
Hi!

When key input while the conversion candidates are displayed.

Other than ESC key is decided in Japanese IME. Esc key cancels and deletes the entry. This is normal behavior. Scinttila in the initial state works the same.

However, in Inline IME mode (SC_IME_INLINE) of Scinttila, anything other than ENTER key is canceled.

I was looking for this fix, Zufu liu had already implemented it:

Here is a minimal code change:

If there is no problem, I want to merge to Sintilla.
I tested briefly in the Korean and Chinese IMEs. Not affected.
The position of the candidates has also been adjusted, making the IME behavior completely seamless.

- maboroshin

Neil Hodgson

unread,
Mar 6, 2020, 9:48:57 PM3/6/20
to Scintilla mailing list
Maboroshin:
Is there a reason for setting initialCompose here? The effect of initialCompose is to call ClearBeforeTentativeStart to delete any current selections and fill in any virtual spaces but that should have been done by the AddWString call.

Neil

Neil Hodgson

unread,
Mar 11, 2020, 1:05:09 AM3/11/20
to Scintilla mailing list
Committed a change which performs the AddWString for GCS_RESULTSTR but does not set initialCompose.

https://sourceforge.net/p/scintilla/code/ci/92d3ec5798695db9da797028ea7b3cc701b3270d/

Neil

Reply all
Reply to author
Forward
0 new messages