Skip to content

Word break navigation needs option for space skipping #401

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

Closed
ghost opened this issue Dec 4, 2016 · 3 comments
Closed

Word break navigation needs option for space skipping #401

ghost opened this issue Dec 4, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 4, 2016

Replicate

  1. Paste the following pangram into the editor: Sphinx of black quartz, judge my vow.
  2. Position the caret anywhere along the pangram.
  3. Press Home to reposition the caret to the beginning of the line.
  4. Press Ctrl+Right Arrow to move to the end of the current word.

Expected Results
Caret moves to the end of the word Sphinx, before the word boundary:

Sphinx| of black...

Actual Results
Caret moves to the start of the next word, of, after the word boundary:

Sphinx |of black...

Additional Details
This is inconsistent with most text editors. When using Ctrl+Left/Right Arrow the expected behaviour can be discovered by using a regular input field and moving around the words with Ctrl and the arrow keys. Generally speaking, when Ctrl+Shift are pressed together for jumping word boundaries, typing an extra space to separate the replaced text from the previous/next word should not be required.

@JordanMartinez
Copy link
Contributor

Which version are you using?

@JordanMartinez
Copy link
Contributor

JordanMartinez commented Dec 4, 2016

This was fixed in 2c3bd1b and this issue is a duplicate of #200. Unfortunately, a release does not yet exist containing the fix.

@ghost
Copy link
Author

ghost commented Dec 4, 2016

compile group: 'org.fxmisc.richtext', name: 'richtextfx', version: '0.7-M2'

@ghost ghost closed this as completed Dec 4, 2016
This issue was closed.
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

No branches or pull requests

1 participant