瀏覽代碼

LibGUI: Put TextEditor widgets in "Wrap at Words" mode by default

Andreas Kling 3 年之前
父節點
當前提交
001b08dec9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Libraries/LibGUI/TextEditor.h

+ 1 - 1
Userland/Libraries/LibGUI/TextEditor.h

@@ -347,7 +347,7 @@ private:
     bool m_needs_rehighlight { false };
     bool m_needs_rehighlight { 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::NoWrap };
+    WrappingMode m_wrapping_mode { WrappingMode::WrapAtWords };
     bool m_visualize_trailing_whitespace { true };
     bool m_visualize_trailing_whitespace { true };
     bool m_visualize_leading_whitespace { false };
     bool m_visualize_leading_whitespace { false };
     bool m_cursor_line_highlighting { true };
     bool m_cursor_line_highlighting { true };