diff options
author | Ian <ianb96@gmail.com> | 2018-01-25 20:41:17 -0500 |
---|---|---|
committer | ianb96 <ianb96@gmail.com> | 2018-05-14 16:17:48 -0400 |
commit | e1fff4bc092e188a7bf0cb4407b9f4b2403ee11a (patch) | |
tree | af51cc58a4aa7d7cdbce3a0aa941cdec797baff5 /editor/code_editor.cpp | |
parent | 92f1debf0824f8eb8e2e38450dc34542be079375 (diff) | |
download | redot-engine-e1fff4bc092e188a7bf0cb4407b9f4b2403ee11a.tar.gz |
TextEdit word wrap
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 24e86770bf..93c86d920a 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -779,6 +779,7 @@ void CodeTextEditor::update_editor_settings() { text_editor->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/line_numbers/show_breakpoint_gutter")); text_editor->set_hiding_enabled(EditorSettings::get_singleton()->get("text_editor/line_numbers/code_folding")); text_editor->set_draw_fold_gutter(EditorSettings::get_singleton()->get("text_editor/line_numbers/code_folding")); + text_editor->set_wrap_enabled(EditorSettings::get_singleton()->get("text_editor/line_numbers/word_wrap")); text_editor->cursor_set_block_mode(EditorSettings::get_singleton()->get("text_editor/cursor/block_caret")); text_editor->set_smooth_scroll_enabled(EditorSettings::get_singleton()->get("text_editor/open_scripts/smooth_scrolling")); text_editor->set_v_scroll_speed(EditorSettings::get_singleton()->get("text_editor/open_scripts/v_scroll_speed")); |