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

Remove broken line break condition in right-side handling in Cursor::previous_visual #164

Closed
wants to merge 1 commit into from

Conversation

mwcampbell
Copy link
Contributor

That code was clearly adapted from the left-side handling in Cursor::next_visual, but it doesn't seem to belong here. It caused this bug: In vello_editor, move down to the first line of the second paragraph (after the blank line), arrow right once, then arrow left. That should leave the cursor back at the start of that line, but instead it jumps back to the blank line.

@DJMcNab DJMcNab requested a review from dfrg November 12, 2024 13:17
@dfrg
Copy link
Collaborator

dfrg commented Dec 3, 2024

I believe this was superseded by #170

@mwcampbell
Copy link
Contributor Author

Yes, it was.

@mwcampbell mwcampbell closed this Dec 3, 2024
@DJMcNab DJMcNab deleted the previous-visual-no-right-side-line-break branch December 3, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants