[TextEdit] Add support for optional wrapped line indentation.

This commit is contained in:
bruvzg 2024-02-19 13:41:12 +02:00
parent 81f3d43cc1
commit dad4aae386
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
9 changed files with 122 additions and 10 deletions

View file

@ -1039,6 +1039,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"));