summaryrefslogtreecommitdiffstats
path: root/tools/editor/code_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-02 15:51:41 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-02 15:51:41 -0300
commitb0b1da69505fe4d9fa3af3e232ffff726f6c055e (patch)
tree902e5d7c25b0bcc30b4b18088bb9701f2c55932f /tools/editor/code_editor.cpp
parentbe73e2d2f272d08e68a3eb82346c1ac1dcd99dcd (diff)
downloadredot-engine-b0b1da69505fe4d9fa3af3e232ffff726f6c055e.tar.gz
Make buttons properly obey stylebox content marins, closes #2156
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 59167abc22..fe863bfebc 100644
--- a/tools/editor/code_editor.cpp
+++ b/tools/editor/code_editor.cpp
@@ -612,6 +612,7 @@ CodeTextEditor::CodeTextEditor() {
if (!font_overrode)
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);