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

Multicursors don't properly adjust to text being deleted in front of them #365

Open
shyperson0 opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working ready for release

Comments

@shyperson0
Copy link

Deleting a newline, every cursor on the line goes up from it's original position, then deletes a character, desyncing every cursor after and having the first one around the middle.

ezgif-2-daa2da3d45

Deleting several chunks of whitespace also desync the cursors, the ones later on the line (columns 4 -> 7) end up eating the text in this example since they don't account for the columns 0 -> 3 being deleted. This however only seems to apply on contiguous selections.

ezgif-2-89df2fae84

(several adjacent cursors working properly, several adjacent 1 column selections are affected by this issue)

ezgif-2-dce7bd7ccd

@SpartanJ SpartanJ self-assigned this Dec 3, 2024
@SpartanJ SpartanJ added the bug Something isn't working label Dec 3, 2024
SpartanJ added a commit to SpartanJ/eepp that referenced this issue Dec 4, 2024
Fix in syntax highlighting regex detection.
@SpartanJ
Copy link
Owner

The 3 issues you mentioned are already fixed in the nightly builds. I was trying to check if there's any other issue but I haven't found any yet. Feel free to test it and let me know if something is still not right. Thanks

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