aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorPaulb232016-04-05 17:06:56 +0100
committerRémi Verschelde2016-04-27 08:37:20 +0200
commitb7f5418f8d459814bf92013476af4629639d3cc8 (patch)
tree91653df3845bbfb251484fe48ff8c0d1023c3c6c /tools/editor/plugins
parentd4d810faacac8c2e1b194155184289668816bb2f (diff)
downloadgodot-b7f5418f8d459814bf92013476af4629639d3cc8.tar.gz
godot-b7f5418f8d459814bf92013476af4629639d3cc8.tar.zst
godot-b7f5418f8d459814bf92013476af4629639d3cc8.zip
Ability to change the caret color
(cherry picked from commit c7519f091d6c4bd3f7edc1b8213fb4aa418fad3a)
Diffstat (limited to 'tools/editor/plugins')
-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 fa1a9dfa7..bb3ad2411 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -288,6 +288,7 @@ void ScriptTextEditor::_load_theme_settings() {
get_text_edit()->set_custom_bg_color(EDITOR_DEF("text_editor/background_color",Color(0,0,0,0)));
get_text_edit()->add_color_override("font_color",EDITOR_DEF("text_editor/text_color",Color(0,0,0)));
+ get_text_edit()->add_color_override("caret_color",EDITOR_DEF("text_editor/caret_color",Color(0,0,0)));
get_text_edit()->add_color_override("font_selected_color",EDITOR_DEF("text_editor/text_selected_color",Color(1,1,1)));
get_text_edit()->add_color_override("selection_color",EDITOR_DEF("text_editor/selection_color",Color(0.2,0.2,1)));
get_text_edit()->add_color_override("brace_mismatch_color",EDITOR_DEF("text_editor/brace_mismatch_color",Color(1,0.2,0.2)));