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

Ensure that all forms of whitespace (en spaces, em spaces, etc) are handled by the backward/forward word delete functions #9

Closed
steveluscher opened this issue Jan 19, 2021 · 0 comments · Fixed by #13

Comments

@steveluscher
Copy link
Contributor

When you press fn-Option-delete on a Mac keyboard to delete a word, the OS counts leading whitespace as part of the range to be deleted. This must include other kinds of whitespace, other than just U+0020.

Repro:

  1. Consider the string Hello\u2002World.
  2. Place the caret after the word ‘Hello’
  3. Press fn-Option-delete

The en space and the word ‘World’ should be deleted.

Then, consider all types of whitespace other than just \u2002.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant