You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix various fringe issues with multi-carets and selections
This commit is contained in:
@@ -353,7 +353,9 @@ void TextEditor::_edit_option(int p_op) {
|
||||
code_editor->duplicate_selection();
|
||||
} break;
|
||||
case EDIT_TOGGLE_FOLD_LINE: {
|
||||
tx->toggle_foldable_line(tx->get_caret_line());
|
||||
for (int caret_idx = 0; caret_idx < tx->get_caret_count(); caret_idx++) {
|
||||
tx->toggle_foldable_line(tx->get_caret_line(caret_idx));
|
||||
}
|
||||
tx->queue_redraw();
|
||||
} break;
|
||||
case EDIT_FOLD_ALL_LINES: {
|
||||
|
||||
Reference in New Issue
Block a user