Skip to content

Next/previous paragraph with selectionBehavior "character" keeps character after paragraph boundary #408

@jgdhs27

Description

@jgdhs27

Execute the 'goto paragraph start' command with the cursor on the first character of a paragraph.
Expected (from helix and kakoune): The character that was under the cursor is not part of the new selection
Actual: The character that was under the cursor is part of the new selection.

To make this clearer, here's an example setup where you can see this happening.
Setup a text document like this:

foo

bar

move to the end of the document, and use goto previous paragraph twice.
expected: the b in bar is not selected.
actual: the b in bar is selected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions