Merge pull request #66763 from MewPurPur/remove-bookmark-hiding

Remove editor setting for hiding bookmarks
This commit is contained in:
Rémi Verschelde 2023-05-29 10:28:37 +02:00
commit 6dcd490d03
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 1 additions and 6 deletions

View file

@ -739,11 +739,8 @@
<member name="text_editor/appearance/gutters/line_numbers_zero_padded" type="bool" setter="" getter=""> <member name="text_editor/appearance/gutters/line_numbers_zero_padded" type="bool" setter="" getter="">
If [code]true[/code], displays line numbers with zero padding (e.g. [code]007[/code] instead of [code]7[/code]). If [code]true[/code], displays line numbers with zero padding (e.g. [code]007[/code] instead of [code]7[/code]).
</member> </member>
<member name="text_editor/appearance/gutters/show_bookmark_gutter" type="bool" setter="" getter="">
If [code]true[/code], displays icons for bookmarks in a gutter at the left. Bookmarks remain functional when this setting is disabled.
</member>
<member name="text_editor/appearance/gutters/show_info_gutter" type="bool" setter="" getter=""> <member name="text_editor/appearance/gutters/show_info_gutter" type="bool" setter="" getter="">
If [code]true[/code], displays a gutter at the left containing icons for methods with signal connections. If [code]true[/code], displays a gutter at the left containing icons for methods with signal connections and for overridden methods.
</member> </member>
<member name="text_editor/appearance/gutters/show_line_numbers" type="bool" setter="" getter=""> <member name="text_editor/appearance/gutters/show_line_numbers" type="bool" setter="" getter="">
If [code]true[/code], displays line numbers in a gutter at the left. If [code]true[/code], displays line numbers in a gutter at the left.

View file

@ -1026,7 +1026,6 @@ void CodeTextEditor::update_editor_settings() {
// Appearance: Gutters // Appearance: Gutters
text_editor->set_draw_line_numbers(EDITOR_GET("text_editor/appearance/gutters/show_line_numbers")); text_editor->set_draw_line_numbers(EDITOR_GET("text_editor/appearance/gutters/show_line_numbers"));
text_editor->set_line_numbers_zero_padded(EDITOR_GET("text_editor/appearance/gutters/line_numbers_zero_padded")); text_editor->set_line_numbers_zero_padded(EDITOR_GET("text_editor/appearance/gutters/line_numbers_zero_padded"));
text_editor->set_draw_bookmarks_gutter(EDITOR_GET("text_editor/appearance/gutters/show_bookmark_gutter"));
// Appearance: Minimap // Appearance: Minimap
text_editor->set_draw_minimap(EDITOR_GET("text_editor/appearance/minimap/show_minimap")); text_editor->set_draw_minimap(EDITOR_GET("text_editor/appearance/minimap/show_minimap"));

View file

@ -553,7 +553,6 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("text_editor/appearance/gutters/show_line_numbers", true); _initial_set("text_editor/appearance/gutters/show_line_numbers", true);
_initial_set("text_editor/appearance/gutters/line_numbers_zero_padded", false); _initial_set("text_editor/appearance/gutters/line_numbers_zero_padded", false);
_initial_set("text_editor/appearance/gutters/highlight_type_safe_lines", true); _initial_set("text_editor/appearance/gutters/highlight_type_safe_lines", true);
_initial_set("text_editor/appearance/gutters/show_bookmark_gutter", true);
_initial_set("text_editor/appearance/gutters/show_info_gutter", true); _initial_set("text_editor/appearance/gutters/show_info_gutter", true);
// Appearance: Minimap // Appearance: Minimap