Skip to content

[Bug] Removal of Highlight with cursor behind selection not working correctly #3

@schlagmichdoch

Description

@schlagmichdoch

When the cursor (|) is behing a highlighted selection like so:
Test of a ==highlighted selection==|
and the highlight button is clicked the last two equal signs are removed. This removes the highlight but leaves the starting equal signs incorrectly. I guess this feature is by design.

Current Behaviour

If we have the following line with | indicating the cursor position:
Test of a ==highlighted selection==|
clicking the highlight button results in:
Test of a ==highlighted selection|

Expected Behaviour

If we have the following line with | indicating the cursor position:
Test of a ==highlighted selection==|
clicking the highlight button results in:
Test of a highlighted selection|

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