aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorPaul Batty2016-04-02 20:46:42 +0100
committerRémi Verschelde2016-04-02 21:46:42 +0200
commit50aa78210c0e31ea8a348bdd8a2432159dc61879 (patch)
tree9898dcd8631ec6d6658b31d2a5667f4604c59f24 /tools/editor/plugins/script_editor_plugin.cpp
parent0a5472e697dee57956c2583a50bc5cf5faada5d8 (diff)
downloadgodot-50aa78210c0e31ea8a348bdd8a2432159dc61879.tar.gz
godot-50aa78210c0e31ea8a348bdd8a2432159dc61879.tar.zst
godot-50aa78210c0e31ea8a348bdd8a2432159dc61879.zip
Function syntax highlighting
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 308850f66..96dd03d11 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -294,6 +294,7 @@ void ScriptTextEditor::_load_theme_settings() {
get_text_edit()->add_color_override("current_line_color",EDITOR_DEF("text_editor/current_line_color",Color(0.3,0.5,0.8,0.15)));
get_text_edit()->add_color_override("word_highlighted_color",EDITOR_DEF("text_editor/word_highlighted_color",Color(0.8,0.9,0.9,0.15)));
get_text_edit()->add_color_override("number_color",EDITOR_DEF("text_editor/number_color",Color(0.9,0.6,0.0,2)));
+ get_text_edit()->add_color_override("function_color",EDITOR_DEF("text_editor/function_color",Color(0.4,0.6,0.8)));
Color keyword_color= EDITOR_DEF("text_editor/keyword_color",Color(0.5,0.0,0.2));