summaryrefslogtreecommitdiff
path: root/tools/editor/code_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-12-17 01:53:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-12-17 01:53:34 -0300
commitc8b2a5f64a44484b566bc1e2aa12aa36850f107e (patch)
tree2b4940b67aa018161e5d55887a3334c696752d24 /tools/editor/code_editor.cpp
parentfd4648c081afa565cb20c923c4e3c94d88e71e4f (diff)
-added brace matching to go with the new code completion
Diffstat (limited to 'tools/editor/code_editor.cpp')
-rw-r--r--tools/editor/code_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp
index 84bf7d33f4..242654c472 100644
--- a/tools/editor/code_editor.cpp
+++ b/tools/editor/code_editor.cpp
@@ -601,6 +601,7 @@ CodeTextEditor::CodeTextEditor() {
text_editor->set_margin(MARGIN_BOTTOM,20);
text_editor->add_font_override("font",get_font("source","Fonts"));
text_editor->set_show_line_numbers(true);
+ text_editor->set_brace_matching(true);
line_col = memnew( Label );
add_child(line_col);