[TextEdit] Add support for optional wrapped line indentation.

This commit is contained in:
bruvzg committed 2024-02-26 08:20:14 +02:00
1 parent 81f3d43cc1
commit dad4aae386
9 files changed
+122 -10

No files matched your search

+1
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"));