summaryrefslogtreecommitdiff
path: root/Applications/TextEditor/TextEditorWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/TextEditor/TextEditorWidget.cpp')
-rw-r--r--Applications/TextEditor/TextEditorWidget.cpp1
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);