summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-11 17:46:38 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-11 17:47:08 +0200
commit6fb358b6d1399ea8a6a1b115fa187ff7eb7ae0b0 (patch)
tree77287ff2db834319119e8b284ec6021363aff6d4 /src/ui/util.c
parent39b15df0d928fd360f1810f705b186bdc7fecbee (diff)
Added option to word wrap plain text files
On by default because there is no horizontal scrolling for plain text files.
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 05858b52..04dbe190 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1864,6 +1864,8 @@ iWidget *makePreferences_Widget(void) {
1864 addChildFlags_Widget(values, iClob(quote), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag); 1864 addChildFlags_Widget(values, iClob(quote), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag);
1865 addChild_Widget(headings, iClob(makeHeading_Widget("Big 1st paragaph:"))); 1865 addChild_Widget(headings, iClob(makeHeading_Widget("Big 1st paragaph:")));
1866 addChild_Widget(values, iClob(makeToggle_Widget("prefs.biglede"))); 1866 addChild_Widget(values, iClob(makeToggle_Widget("prefs.biglede")));
1867 addChild_Widget(headings, iClob(makeHeading_Widget("Wrap plain text:")));
1868 addChild_Widget(values, iClob(makeToggle_Widget("prefs.plaintext.wrap")));
1867 } 1869 }
1868 /* Network. */ { 1870 /* Network. */ {
1869 appendTwoColumnPage_(tabs, "Network", '5', &headings, &values); 1871 appendTwoColumnPage_(tabs, "Network", '5', &headings, &values);