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

Highlighting * and pressing enter doesn't do anything. #96

Closed
aymather opened this issue May 19, 2022 · 1 comment · Fixed by #97
Closed

Highlighting * and pressing enter doesn't do anything. #96

aymather opened this issue May 19, 2022 · 1 comment · Fixed by #97

Comments

@aymather
Copy link

aymather commented May 19, 2022

Let's say you have some lines in your editor that looks like this:

literally anything here<PLACE CURSOR HERE> *
some more things
here
and<END HIGHLIGHT HERE>
here

Put your cursor in the place I identified, and hold shift and press down like you're highlighting the section. It's very important to place your cursor at the EXACT place I mentioned because it doesn't work anywhere else. It is also important that there is at least a single space between the starting cursor position and the * in order to reproduce the bug properly.

If you press down while holding shift to highlight the section, then press enter, I would expect the editor to delete everything that was highlighted and start a new line such that it would end up looking like this:

literally anything here

here

Instead, when you press enter, the editor won't delete anything and return your cursor to the same position it started in. So it looks like this

literally anything here<CURSOR ENDS UP HERE> *
some more things
here
and
here

After removing this extension, I'm no longer having this issue.

@kbrose
Copy link
Owner

kbrose commented May 24, 2022

Thanks for the detailed report @aymather -- I appreciate it. This should be fixed in the latest version (1.16.0).

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

Successfully merging a pull request may close this issue.

2 participants