diff options
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 3efefe83c3..6c16951186 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -932,9 +932,6 @@ void CodeTextEditor::_complete_request() { if (code_complete_func) { code_complete_func(code_complete_ud, ctext, &entries, forced); } - if (entries.size() == 0) { - return; - } for (const ScriptLanguage::CodeCompletionOption &e : entries) { Color font_color = completion_font_color; @@ -1039,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")); |