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 22:19:54 +0200
commit01471e4c096c95d90288e9acb03b9b800436ad8f (patch)
tree3cc771adcd8f28e935ed95b68a9b9a7a89f8df3c /tools/editor/plugins/script_editor_plugin.cpp
parentbac8248316f8aaf2890a5c7a4add2f3a562e5891 (diff)
downloadgodot-01471e4c096c95d90288e9acb03b9b800436ad8f.tar.gz
godot-01471e4c096c95d90288e9acb03b9b800436ad8f.tar.zst
godot-01471e4c096c95d90288e9acb03b9b800436ad8f.zip
Function syntax highlighting
(cherry picked from commit 50aa78210c0e31ea8a348bdd8a2432159dc61879)
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 7ead5b8eb..f8aa83670 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));