From da7a8fc055cc48f24a73324929e99bf55db8f472 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 9 Feb 2021 20:27:39 +0100 Subject: [PATCH] LibGUI: TextEditor widget should default to no wrapping Since we don't support wrapping in right-aligned text mode, let's keep the old behavior of wrapping being off-by-default for now. Fixes #5275. --- Userland/Libraries/LibGUI/TextEditor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/TextEditor.h b/Userland/Libraries/LibGUI/TextEditor.h index 8ec190883c..052e6cb024 100644 --- a/Userland/Libraries/LibGUI/TextEditor.h +++ b/Userland/Libraries/LibGUI/TextEditor.h @@ -319,7 +319,7 @@ private: bool m_ruler_visible { false }; bool m_has_pending_change_notification { false }; bool m_automatic_indentation_enabled { false }; - WrappingMode m_wrapping_mode { WrappingMode::WrapAnywhere }; + WrappingMode m_wrapping_mode { WrappingMode::NoWrap }; bool m_has_visible_list { false }; bool m_visualize_trailing_whitespace { true }; int m_line_spacing { 4 };