Merge pull request #88546 from bruvzg/indent_wrap

[TextEdit] Add support for optional wrapped line indentation.
This commit is contained in:
Rémi Verschelde 2024-03-05 09:55:51 +01:00
commit 2d408f48e7
No known key found for this signature in database
GPG key ID: C3336907360768E1
9 changed files with 122 additions and 10 deletions

View file

@ -1036,6 +1036,7 @@ void CodeTextEditor::update_editor_settings() {
set_indent_using_spaces(EDITOR_GET("text_editor/behavior/indent/type"));
text_editor->set_indent_size(EDITOR_GET("text_editor/behavior/indent/size"));
text_editor->set_auto_indent_enabled(EDITOR_GET("text_editor/behavior/indent/auto_indent"));
text_editor->set_indent_wrapped_lines(EDITOR_GET("text_editor/behavior/indent/indent_wrapped_lines"));
// Completion
text_editor->set_auto_brace_completion_enabled(EDITOR_GET("text_editor/completion/auto_brace_complete"));