summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-06-30 11:58:13 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-01 12:06:33 +0100
commitd1a1ad127e03053a484fa71e1c36590d7e39ed95 (patch)
treef2b18d39b1bdec6bb044dd085073429875712d23 /editor
parent12f00535555f8ac94a3da2a561f51357502e7a6d (diff)
Move brace matching into CodeEdit
Diffstat (limited to 'editor')
-rw-r--r--editor/code_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 668d364f3a..6e1ac3e837 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -1825,7 +1825,7 @@ CodeTextEditor::CodeTextEditor() {
}
text_editor->set_draw_line_numbers(true);
- text_editor->set_brace_matching(true);
+ text_editor->set_highlight_matching_braces_enabled(true);
text_editor->set_auto_indent_enabled(true);
status_bar = memnew(HBoxContainer);