Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
schlagmichdoch opened this issue Nov 1, 2022 · 0 comments

Comments

@schlagmichdoch
Copy link

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|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant