Skip to content
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

Fix caret jumping in certain cases with cursor blot #4265

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

luin
Copy link
Member

@luin luin commented Jun 21, 2024

Closes #1395

Besides the steps described in #1395, there is another bug related to cursor:

  1. Type "1234" in the editor.
  2. Move the caret between "2" and "3".
  3. Press CMD+b.
  4. Switch to Chinese IME.
  5. Type "w".
  6. 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.

@luin luin force-pushed the zh-cursor branch 3 times, most recently from ff381d0 to c98e2f8 Compare June 21, 2024 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong cursor behavior after changing format and pressing arrow key
1 participant