1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Script Editor: automatic indentation after a colon

This commit is contained in:
koalefant
2015-11-29 17:02:35 +01:00
parent b0dbcccb6c
commit c93a005fb6
3 changed files with 15 additions and 1 deletions

View File

@@ -614,6 +614,7 @@ CodeTextEditor::CodeTextEditor() {
text_editor->add_font_override("font",get_font("source","Fonts"));
text_editor->set_show_line_numbers(true);
text_editor->set_brace_matching(true);
text_editor->set_auto_indent(true);
line_col = memnew( Label );
add_child(line_col);