-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Pressing shift+delete with a multi-cursor selection crashes the editor #83826
Comments
I can reproduce this issue the older v4.1.2.stable.official [399c9dc]. Note that for the editor to crash, the cursors has to be on different lines. |
I can confirm the crash in 4.2.beta2.official and in a dev build from the It doesn't crash systematically, and I haven't narrowed down the exact condition which triggers it, but any attempt at Shift+Delete does print errors (and eventually may crash).
|
I can't get a lot of information out of the debugger since the index operator is inlined, but the crash is triggered on line 624 in It seems that the engine tried to access a character on a now-deleted column of text to do some checks related to adding matching parentheses since if you put your cursors on the beginning of the lines, the editor will not crash. Maybe a check should be added? |
Related to #81535 |
Godot version
4.2b2
System information
Linux/Manjaro
Issue description
If you have a multi-caret selection in the editor's CodeEdit and try to delete lines with Shift+Delete, the editor will crash.
Steps to reproduce
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: