diff options
| author | Paulb23 | 2016-04-08 20:05:50 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-04-27 08:42:18 +0200 |
| commit | b5a438413a338f47fcdd47b987b28d68e25fc99a (patch) | |
| tree | 46b7153182ad06acd81076d4e22582bae436b769 /tools | |
| parent | f4ebba513a45dc64732a083cb7807cb955604860 (diff) | |
| download | godot-b5a438413a338f47fcdd47b987b28d68e25fc99a.tar.gz godot-b5a438413a338f47fcdd47b987b28d68e25fc99a.tar.zst godot-b5a438413a338f47fcdd47b987b28d68e25fc99a.zip | |
Setting to change line number color
(cherry picked from commit 8c328474f2b2397fb4bcc3fc84402a0305383da6)
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/editor/editor_settings.cpp | 1 | ||||
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index c56201c1f..707f38d6a 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -471,6 +471,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { set("global/show_script_in_scene_tabs",false); set("text_editor/background_color",Color::html("3b000000")); 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")); set("text_editor/text_selected_color",Color::html("000000")); set("text_editor/keyword_color",Color::html("ffffb3")); diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index bb3ad2411..fba0eb525 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("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))); 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))); |
