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.
This commit is contained in:
Andreas Kling 2021-02-09 20:27:39 +01:00
parent 106939c11f
commit da7a8fc055
Notes: sideshowbarker 2024-07-18 22:28:15 +09:00

View File

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