From 706895a922d69c5825d2d2a2d51ca205b1b81ea3 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Tue, 21 Jun 2016 17:21:55 +0100 Subject: Added code completion selected color setting --- tools/editor/editor_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/editor/editor_settings.cpp') diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 0eca84179..eec505c66 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -675,6 +675,7 @@ void EditorSettings::_load_defaults(Ref p_extra_config) { void EditorSettings::_load_default_text_editor_theme() { set("text_editor/background_color",Color::html("3b000000")); set("text_editor/completion_background_color", Color::html("2C2A32")); + set("text_editor/completion_selected_color", Color::html("434244")); set("text_editor/caret_color",Color::html("aaaaaa")); set("text_editor/line_number_color",Color::html("66aaaaaa")); set("text_editor/text_color",Color::html("aaaaaa")); @@ -908,6 +909,7 @@ bool EditorSettings::_save_text_editor_theme(String p_file) { Ref cf = memnew( ConfigFile ); // hex is better? cf->set_value(theme_section, "background_color", ((Color)get("text_editor/background_color")).to_html()); cf->set_value(theme_section, "completion_background_color", ((Color)get("text_editor/completion_background_color")).to_html()); + cf->set_value(theme_section, "completion_selected_color", ((Color)get("text_editor/completion_selected_color")).to_html()); cf->set_value(theme_section, "caret_color", ((Color)get("text_editor/caret_color")).to_html()); cf->set_value(theme_section, "line_number_color", ((Color)get("text_editor/line_number_color")).to_html()); cf->set_value(theme_section, "text_color", ((Color)get("text_editor/text_color")).to_html()); -- cgit v1.3.1