Skip to content

Word break navigation needs option for space skipping #401

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions