TextEditor: Let's enable line wrapping by default

This commit is contained in:
Andreas Kling 2019-08-27 17:05:01 +02:00
parent b6de723eb3
commit 07933d0b46
Notes: sideshowbarker 2024-07-19 12:29:18 +09:00

View file

@ -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);