Skip to content

Triple-clicking to select throws an error when editing is disabled #486

Closed
@YoranBrondsema

Description

The problem is that when selecting by triple-clicking, the tail of the selection is outside of the editor. I added a failing test in this PR.

bug

I think it can be solved by identifying this case and then limiting the selection to the last possible position inside the editor (I guess the direction of the selection has to be taken into account as well).

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions