From 07933d0b4627d7951cebf4913248cef7bff4e0b7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 27 Aug 2019 17:05:01 +0200 Subject: [PATCH] TextEditor: Let's enable line wrapping by default --- Applications/TextEditor/TextEditorWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index 57056dc2aae..2b3cd6d2945 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);