aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorAndrey Proskurin <andreyproskurin@protonmail.com>2021-05-09 18:17:20 +0000
committerRandy Palamar <palamar@ualberta.ca>2023-07-28 12:46:29 -0600
commit5d7d62c73b258d06efaf5d93026b9e556e4e84d8 (patch)
tree303ae344ee97f48a5bab4d6b98153c2f6e1a17c6 /view.h
parent1a81e0997422f0cbe249095d1b1b8ed5f4a4f983 (diff)
downloadvis-5d7d62c73b258d06efaf5d93026b9e556e4e84d8.tar.gz
vis-5d7d62c73b258d06efaf5d93026b9e556e4e84d8.tar.xz
view.c: add word wrapping
this is contolled by the wrapcolumn/wc and breakat/brk options related #142: Word wrap and line breaks related #932: Vis for Prose? related #1092: Disabling line wrapping
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/view.h b/view.h
index 8e41699..b6d71e2 100644
--- a/view.h
+++ b/view.h
@@ -358,6 +358,8 @@ void view_options_set(View*, enum UiOption options);
enum UiOption view_options_get(View*);
void view_colorcolumn_set(View*, int col);
int view_colorcolumn_get(View*);
+void view_wrapcolumn_set(View*, int col);
+bool view_breakat_set(View*, const char *breakat);
/** Set how many spaces are used to display a tab `\t` character. */
void view_tabwidth_set(View*, int tabwidth);