You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #89554 from smnast/backspace-unfold
Fix backspace always unfolding previous line
This commit is contained in:
@@ -765,7 +765,7 @@ void CodeEdit::_backspace_internal(int p_caret) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (to_line > 0 && _is_line_hidden(to_line - 1)) {
|
||||
if (to_line > 0 && to_column == 0 && _is_line_hidden(to_line - 1)) {
|
||||
unfold_line(to_line - 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user