Chinese Issue 5 -- Wrong behavior for IME On the Spot Composition Mode

In Chinese (C/J/K) input method there’s a “On the Spot” composition mode, which means when inputting text and launched the input method, the composition area and the cursor were treated as a part of the text input frame. In the CODE (both 2.x and 3.0) when using this mode, we couldn’t see the composition area hence couldn’t know what we typed.

In the “Over the Spot” mode the composition area was an independent window hence it was okay to see what we typed and the result of the composition was sent to the text input frame successfully.

This problem is solved in the HackMD (https://hackmd.io ). Here is some reference:

Videos:

See the problem (the correct behavior in the upper right search text field and wrong behavior in the CODE editor)

The other two files are for your references.