aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-06-22 07:51:33 +0200
committerGitHub2016-06-22 07:51:33 +0200
commit87cb3629f2ae34ee65b2edaa52199c302d14f4e2 (patch)
tree20922ffc27fdc1d1cfaf9a54e9e04f318c85cedb /tools/editor/plugins/script_editor_plugin.cpp
parent5974653307b56cfd8ed5a8b784f23e7f5822a6f4 (diff)
parent45f0dec55c64c62f6f47b6fc6735af33afb6e028 (diff)
downloadgodot-87cb3629f2ae34ee65b2edaa52199c302d14f4e2.tar.gz
godot-87cb3629f2ae34ee65b2edaa52199c302d14f4e2.tar.zst
godot-87cb3629f2ae34ee65b2edaa52199c302d14f4e2.zip
Merge pull request #5344 from Paulb23/code_completion_colors
Code completion box colors
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 7de80e767..7ecd2951d 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -287,6 +287,9 @@ 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("completion_background_color", EDITOR_DEF("text_editor/completion_background_color", Color(0,0,0,0)));
+ get_text_edit()->add_color_override("completion_selected_color", EDITOR_DEF("text_editor/completion_selected_color", Color::html("434244")));
+ get_text_edit()->add_color_override("completion_existing_color", EDITOR_DEF("text_editor/completion_existing_color", Color::html("21dfdfdf")));
get_text_edit()->add_color_override("font_color",EDITOR_DEF("text_editor/text_color",Color(0,0,0)));
get_text_edit()->add_color_override("line_number_color",EDITOR_DEF("text_editor/line_number_color",Color(0,0,0)));
get_text_edit()->add_color_override("caret_color",EDITOR_DEF("text_editor/caret_color",Color(0,0,0)));