1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Move indent management to CodeEdit

This commit is contained in:
Paulb23
2021-06-15 15:05:01 +01:00
parent 953de68cfc
commit 1a0cfc219b
10 changed files with 762 additions and 477 deletions

View File

@@ -320,10 +320,10 @@ void TextEditor::_edit_option(int p_op) {
code_editor->move_lines_down();
} break;
case EDIT_INDENT_LEFT: {
tx->indent_selected_lines_left();
tx->unindent_lines();
} break;
case EDIT_INDENT_RIGHT: {
tx->indent_selected_lines_right();
tx->indent_lines();
} break;
case EDIT_DELETE_LINE: {
code_editor->delete_lines();