mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add editor highlight for type-safe lines
The line number is hightlighted to indicate that the line contains only type-safe code.
This commit is contained in:
@@ -364,6 +364,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||
|
||||
_initial_set("text_editor/highlighting/highlight_all_occurrences", true);
|
||||
_initial_set("text_editor/highlighting/highlight_current_line", true);
|
||||
_initial_set("text_editor/highlighting/highlight_type_safe_lines", true);
|
||||
_initial_set("text_editor/cursor/scroll_past_end_of_file", false);
|
||||
|
||||
_initial_set("text_editor/indent/type", 0);
|
||||
@@ -593,6 +594,7 @@ void EditorSettings::_load_default_text_editor_theme() {
|
||||
_initial_set("text_editor/highlighting/completion_font_color", Color::html("aaaaaa"));
|
||||
_initial_set("text_editor/highlighting/text_color", Color::html("aaaaaa"));
|
||||
_initial_set("text_editor/highlighting/line_number_color", Color::html("66aaaaaa"));
|
||||
_initial_set("text_editor/highlighting/safe_line_number_color", Color::html("99aac8aa"));
|
||||
_initial_set("text_editor/highlighting/caret_color", Color::html("aaaaaa"));
|
||||
_initial_set("text_editor/highlighting/caret_background_color", Color::html("000000"));
|
||||
_initial_set("text_editor/highlighting/text_selected_color", Color::html("000000"));
|
||||
|
||||
Reference in New Issue
Block a user