summaryrefslogtreecommitdiff
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-04-28 10:01:04 +0200
committerGitHub <noreply@github.com>2017-04-28 10:01:04 +0200
commit2153feb6fd8cc328191c92b43818624a6fa6c27e (patch)
tree699eee6aab35309955e571a48701a98665dea34b /editor/plugins/script_text_editor.cpp
parent5f15f03d38ed712d33f41ceb5bc812acf818a184 (diff)
parentbe454ba2d6e0f91aba61dc6ef47bbeca898f1a6a (diff)
Merge pull request #8564 from volzhs/editor-theme
Update editor theme
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index 84aa4739ea..3bb1c7852b 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -1322,6 +1322,7 @@ ScriptTextEditor::ScriptTextEditor() {
code_editor = memnew(CodeTextEditor);
add_child(code_editor);
+ code_editor->add_constant_override("separation", 0);
code_editor->set_area_as_parent_rect();
code_editor->connect("validate_script", this, "_validate_script");
code_editor->connect("load_theme_settings", this, "_load_theme_settings");