diff options
| author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2019-05-17 20:38:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-17 20:38:40 +0200 |
| commit | ee5ba3e0974caba3e3589d2a53405ef7328dc1b1 (patch) | |
| tree | f766d1b13f6ebf180bd09f5c720b0a1bff287399 /editor/code_editor.cpp | |
| parent | 580b0c651df86675145a696b1e961b224bf3ad8c (diff) | |
| parent | c86b03abd8860c5963f1e694257a2231cea96d85 (diff) | |
| download | redot-engine-ee5ba3e0974caba3e3589d2a53405ef7328dc1b1.tar.gz | |
Merge pull request #28366 from iwek7/feature/issue28355/showSpacesInEditor
Add feature to show spaces in code editor
Diffstat (limited to 'editor/code_editor.cpp')
| -rw-r--r-- | editor/code_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index ec984e480a..7fd7b8dac3 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -755,6 +755,7 @@ void CodeTextEditor::update_editor_settings() { text_editor->set_indent_size(EditorSettings::get_singleton()->get("text_editor/indent/size")); text_editor->set_auto_indent(EditorSettings::get_singleton()->get("text_editor/indent/auto_indent")); text_editor->set_draw_tabs(EditorSettings::get_singleton()->get("text_editor/indent/draw_tabs")); + text_editor->set_draw_spaces(EditorSettings::get_singleton()->get("text_editor/indent/draw_spaces")); text_editor->set_show_line_numbers(EditorSettings::get_singleton()->get("text_editor/line_numbers/show_line_numbers")); text_editor->set_line_numbers_zero_padded(EditorSettings::get_singleton()->get("text_editor/line_numbers/line_numbers_zero_padded")); text_editor->set_show_line_length_guideline(EditorSettings::get_singleton()->get("text_editor/line_numbers/show_line_length_guideline")); |
