It is now possible to display underlines during inline Japanese conversion. I have made several other improvements and believe that I have achieved my goal.
Click the image above to see a video of the conversion and input.
The inline input/conversion has become stable because I understood the cause of the crash of Factor IDE.
Click this image to see a video of the conversion.
I have made progress towards completion, but the current implementation lacks a very large one.
Inline conversion uses the underline display to tell the user the target area of the conversion operation and the break of the conversion unit. For now, there is no such feedback.
I want to make Factor inline input possible with CJK languages such as Japanese. So, I’m modifying it. However, I’ve got stuck.
For example, I use the return key to confirm the conversion string, but I can not operate well because the key input to IM such as return passes over to Factor.
I expected the key input to be received first by the IM, and the app received the input that was not consumed, but it seems that the IM can’t receive the input unless the Factor backend sends a key-down event.