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

Borked multi cursor when writing newline with several cursors within the same line #364

Closed
shyperson0 opened this issue Nov 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working ready for release

Comments

@shyperson0
Copy link

To reproduce, write something like this:

delim this is a text delim this is another text delim even more text ig

Highlight delim and Ctrl+D to highlight other instances of delim, then press enter. Instead of replacing every delim with a newline, lines after the first one are cutoff in the wrong place:

this is a text d this is another text delim even more tex

the second newline is one character late, and replaces one additional character, the third one comes 20 characters late.

Using Replace All in the Seach tab still works.

@SpartanJ SpartanJ self-assigned this Nov 28, 2024
@SpartanJ SpartanJ added the bug Something isn't working label Nov 28, 2024
@SpartanJ
Copy link
Owner

Thanks for reporting it! I'm working on a fix, it will be ready soon.

@SpartanJ
Copy link
Owner

It should be fixed now, you can test it with the latest nightly build (it will be available ~15 mins after this message). Let me know if you find anything wrong.

@SpartanJ SpartanJ closed this as completed Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for release
Projects
None yet
Development

No branches or pull requests

2 participants