Skip to content

Backwards keyboard selection resets to forward #1844

@danthe1st

Description

@danthe1st

When opening an XML file with the Generic Code Editor and selecting content with the keyboard starting from the end of the selection and walking back doesn't keep "selecting back" but switches to the end of the selection.

To illustrate this, take this video:

out.mp4

To record this, I opened an XML file, held Ctrl+Shift and pressed the Up arrow key followed by the Left arrow key a few times.

I would expect the selection to work as shown in the following video:

expected.mp4

This can be reproduced using the latest Eclipse version (with WildWebDeveloper) or by building and running it as an "Eclipse Application" with the org.eclipse.wildwebdeveloper.xml plug-in.

The issue only happens when the selection spans over multiple lines XML tags.

I am using Ubuntu 25.04.

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