From 5d7d62c73b258d06efaf5d93026b9e556e4e84d8 Mon Sep 17 00:00:00 2001 From: Andrey Proskurin Date: Sun, 9 May 2021 18:17:20 +0000 Subject: 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 --- view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view.h') 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); -- cgit v1.2.3