You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Changed current line draw order and added code folding color
This commit is contained in:
@@ -81,6 +81,7 @@ void ShaderTextEditor::_load_theme_settings() {
|
||||
Color member_variable_color = EDITOR_DEF("text_editor/highlighting/member_variable_color", Color(0.9, 0.3, 0.3));
|
||||
Color mark_color = EDITOR_DEF("text_editor/highlighting/mark_color", Color(1.0, 0.4, 0.4, 0.4));
|
||||
Color breakpoint_color = EDITOR_DEF("text_editor/highlighting/breakpoint_color", Color(0.8, 0.8, 0.4, 0.2));
|
||||
Color code_folding_color = EDITOR_DEF("text_editor/highlighting/code_folding_color", Color(0.8, 0.8, 0.8, 0.8));
|
||||
Color search_result_color = EDITOR_DEF("text_editor/highlighting/search_result_color", Color(0.05, 0.25, 0.05, 1));
|
||||
Color search_result_border_color = EDITOR_DEF("text_editor/highlighting/search_result_border_color", Color(0.1, 0.45, 0.1, 1));
|
||||
Color symbol_color = EDITOR_DEF("text_editor/highlighting/symbol_color", Color::hex(0x005291ff));
|
||||
@@ -122,6 +123,7 @@ void ShaderTextEditor::_load_theme_settings() {
|
||||
member_variable_color = tm->get_color("text_editor/theme/member_variable_color", "Editor");
|
||||
mark_color = tm->get_color("text_editor/theme/mark_color", "Editor");
|
||||
breakpoint_color = tm->get_color("text_editor/theme/breakpoint_color", "Editor");
|
||||
code_folding_color = tm->get_color("text_editor/theme/code_folding_color", "Editor");
|
||||
search_result_color = tm->get_color("text_editor/theme/search_result_color", "Editor");
|
||||
search_result_border_color = tm->get_color("text_editor/theme/search_result_border_color", "Editor");
|
||||
}
|
||||
@@ -147,6 +149,7 @@ void ShaderTextEditor::_load_theme_settings() {
|
||||
get_text_edit()->add_color_override("member_variable_color", member_variable_color);
|
||||
get_text_edit()->add_color_override("mark_color", mark_color);
|
||||
get_text_edit()->add_color_override("breakpoint_color", breakpoint_color);
|
||||
get_text_edit()->add_color_override("code_folding_color", code_folding_color);
|
||||
get_text_edit()->add_color_override("search_result_color", search_result_color);
|
||||
get_text_edit()->add_color_override("search_result_border_color", search_result_border_color);
|
||||
get_text_edit()->add_color_override("symbol_color", symbol_color);
|
||||
|
||||
Reference in New Issue
Block a user