mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Merge pull request #89554 from smnast/backspace-unfold
Fix backspace always unfolding previous line
This commit is contained in:
commit
db5003519a
2 changed files with 21 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue