Skip to content

Add cursor tests for RTL text followed by newline #305

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

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

Conversation

valadaptive
Copy link
Contributor

As requested in #298.

It turns out to be a bit worse than I originally thought--when I used ctrl+left arrow in the vello_editor example, it just put me back at the start of the word. But when I call previous_visual_word here, it actually hangs and loops infinitely!

I'm not confident that the assertions for the expected behavior are correct--the assertion helpers seem to be a bit weird. As such, anyone fixing this should not necessarily expect the tests to pass once they've done so.

@xorgy
Copy link
Member

xorgy commented Mar 22, 2025

Thank you!

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