1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

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

View file

@ -319,7 +319,7 @@ private:
bool m_ruler_visible { false }; bool m_ruler_visible { false };
bool m_has_pending_change_notification { false }; bool m_has_pending_change_notification { false };
bool m_automatic_indentation_enabled { 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_has_visible_list { false };
bool m_visualize_trailing_whitespace { true }; bool m_visualize_trailing_whitespace { true };
int m_line_spacing { 4 }; int m_line_spacing { 4 };