- Enable Japanese IME
- Type s
- Type i
- Press Space to convert and get e.g. "詩"
- Change the candidate to another one, e.g. "市"
- Press Enter to Commit
You get the completely same kind of input events in 2–6 where:
isComposing is true
inputType is insertCompositionText
A different type should be assigned to 6.
How can we notice the end of composition without combining with compositionEnd?
Another approach (adding additional property to InputEvent):
You get the completely same kind of
inputevents in 2–6 where:isComposingistrueinputTypeisinsertCompositionTextA different type should be assigned to 6.
How can we notice the end of composition without combining with
compositionEnd?isComposinginonInputistrueeven when it is the finish of the IME composition / NoonInputwhoseisComposingisfalseis triggered when you complete IME composition uievents#394Another approach (adding additional property to
InputEvent):InputEventto determine whether the text being input by IME has just been confirmed without help ofcompositionenduievents#403