diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-27 21:10:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-27 21:10:42 +0100 |
| commit | 2d904d2f8085967c1b6a606358a38c0bc2309dd0 (patch) | |
| tree | 3b6d26d18dce7de333ad875f70e9ecfb4e81bfa6 /editor/code_editor.cpp | |
| parent | f9d93ee819d216048e9dc69d4481be7802fb53da (diff) | |
| parent | 3e4b508c3b91ef7cc8769e1be178ef7a75b1ad58 (diff) | |
| download | redot-engine-2d904d2f8085967c1b6a606358a38c0bc2309dd0.tar.gz | |
Merge pull request #36232 from Calinou/add-soft-line-length-guideline
Add a soft line length guideline to the script editor
Diffstat (limited to 'editor/code_editor.cpp')
| -rw-r--r-- | editor/code_editor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 86631def9d..948955eabd 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -925,8 +925,9 @@ void CodeTextEditor::update_editor_settings() { text_editor->set_hiding_enabled(EditorSettings::get_singleton()->get("text_editor/appearance/code_folding")); text_editor->set_draw_fold_gutter(EditorSettings::get_singleton()->get("text_editor/appearance/code_folding")); text_editor->set_wrap_enabled(EditorSettings::get_singleton()->get("text_editor/appearance/word_wrap")); - text_editor->set_show_line_length_guideline(EditorSettings::get_singleton()->get("text_editor/appearance/show_line_length_guideline")); - text_editor->set_line_length_guideline_column(EditorSettings::get_singleton()->get("text_editor/appearance/line_length_guideline_column")); + text_editor->set_show_line_length_guidelines(EditorSettings::get_singleton()->get("text_editor/appearance/show_line_length_guidelines")); + text_editor->set_line_length_guideline_soft_column(EditorSettings::get_singleton()->get("text_editor/appearance/line_length_guideline_soft_column")); + text_editor->set_line_length_guideline_hard_column(EditorSettings::get_singleton()->get("text_editor/appearance/line_length_guideline_hard_column")); text_editor->set_scroll_pass_end_of_file(EditorSettings::get_singleton()->get("text_editor/cursor/scroll_past_end_of_file")); text_editor->cursor_set_block_mode(EditorSettings::get_singleton()->get("text_editor/cursor/block_caret")); text_editor->cursor_set_blink_enabled(EditorSettings::get_singleton()->get("text_editor/cursor/caret_blink")); |
