codemirror / CodeMirror Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to toggle with arrow keys before having finalized japanese input #4096
Comments
|
This is a case much like #4095 -- CodeMirror is trying to show an interface similar to that the IME module might be showing, but it doesn't have enough information to do a very good job there. Switching to If having some indicator of where the current selection is is important, it seems that I could periodically read the cursor position from the textarea, and show CodeMirror's cursor at the matching position, during IME. However, this still does not tell the user what group is being worked with -- I had hoped that the current group would be selected, but the only thing that happens is that the cursor is put in front of it, and I don't think there's a workable way to find out how the composed text is split into groups. |
|
(Note that the arrow keys do seem to work, you just don't get visual feedback on their effect.) |
|
Same issue on Chinese IME (Bopomofo) I initially reported this issue on Ghost's repo (TryGhost/Ghost#9012) but it seemed to be CodeMirror's issue. |
|
This is a issue that is difficult if not impossible to solve with the fundamental approach currently taken by CodeMirror. We are working on a rewrite (CodeMirror 6) that will address this issue, and we are currently raising money for this work: See the announcement for more information about the rewrite and a demo. Note that CodeMirror 6 is by no means stable or usable in production, yet. It is highly unlikely that we pick up this issue for CodeMirror 5, though. |
Env
Windows 10
Chrome v51
Japanese MS IME
CodeMirror: v5.13.2 (also exists in v5.16 - and earlier versions)
To reproduce:
Expected Result
Actual Result:
The text was updated successfully, but these errors were encountered: