Fix various fringe issues with multi-carets and selections
This commit is contained in:
parent
92287c2cb2
commit
94416e41c5
2 changed files with 43 additions and 60 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue