diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-08-27 17:05:01 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-27 17:05:01 +0200 |
commit | 07933d0b4627d7951cebf4913248cef7bff4e0b7 (patch) | |
tree | 302e947ea1e2d2642ae709bb608f584eee9df014 /Applications | |
parent | b6de723eb32be64d3fcba4815719615218f9594d (diff) | |
download | serenity-07933d0b4627d7951cebf4913248cef7bff4e0b7.zip |
TextEditor: Let's enable line wrapping by default
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/TextEditor/TextEditorWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index 57056dc2aa..2b3cd6d294 100644 --- a/Applications/TextEditor/TextEditorWidget.cpp +++ b/Applications/TextEditor/TextEditorWidget.cpp @@ -23,6 +23,7 @@ TextEditorWidget::TextEditorWidget() m_editor = new GTextEditor(GTextEditor::MultiLine, this); m_editor->set_ruler_visible(true); m_editor->set_automatic_indentation_enabled(true); + m_editor->set_line_wrapping_enabled(true); m_find_widget = new GWidget(this); m_find_widget->set_fill_with_background_color(true); |