-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Ropey char index out of bounds panic #12461
Comments
Hm... I can't reproduce this on the latest master. |
Sorry, realised that I forgot to mention the selection collapse before inserting return. (Visible in the asciinema though.) You're correct in that it does not reproduce the error if left out. |
Hm even if I collapse the selection (I hope we talk about the same by pressing recording-2025-01-09_19.39.20.mp4 |
Yeah, `;' should be right. (I've got mine bound to escape.) How did you paste in the snippet? I think you need to paste it on an "EOF line that does not yet exist". See how I in the recording paste it at the |
Alright, so here's a full video of my steps: recording-2025-01-09_19.53.19.mp4I'm currently on the master branch. May I ask if you can try the latest master branch as well? |
Still not pasting onto the last line. Notice how I go down one line down in my recording before pasting. 😊 No, official release, as mentioned in the top comment. |
Summary
Getting a panic when copying some EBNF from a PDF and then inserting some newlines into it. (https://standards.scheme.org/official/r7rs.pdf p. 62 if it helps.)
Reproduction Steps
Tried to enter a newline at every
|
after pasting the following:https://asciinema.org/a/gIJF8EpZ9wTsOGTxHWbX7NKgk
Helix log
Stderr
Logs
Platform
Linux
Terminal Emulator
foot version: 1.17.2 +pgo +ime +graphemes -assertions
Installation Method
arch repo with paru
Helix Version
helix 25.1
The text was updated successfully, but these errors were encountered: