-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Auto pairs incorrectly shifts selections with crlf
line endings
#8043
Labels
Comments
cc @dead10ck |
I'm unable to reproduce the issue with these steps. @pascalkuthe would you be able to give it a shot just so we can rule out that I'm doing something wrong? |
Ah nice, I can check later if this fixes the auto-pair issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When using multiple selections and
crlf
line endings, auto pairs can cause selections to shift when inserting on the newline character.Reproduction Steps
Open a new file with this content:
:line-ending crlf
%<Alt+s>
A
(nota
)(
The result is this (each auto pair causes the following selections' anchor to shift):
All selections should remain 1 character wide instead.
Helix log
log
Platform
Windows
Terminal Emulator
wezterm (20230712-072601)
Helix Version
master at 929eb0c
The text was updated successfully, but these errors were encountered: