quill
quill copied to clipboard
Fix caret jumping in certain cases with cursor blot
Closes #1395
Besides the steps described in #1395, there is another bug related to cursor:
- Type "1234" in the editor.
- Move the caret between "2" and "3".
- Press CMD+b.
- Switch to Chinese IME.
- Type "w".
- Cancel the composition session with Escape key.
The expected behavior is the caret to stay between "2" and "3" but the actual behavior is the caret jumps to the end.