aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/view.c b/view.c
index df8aa93..02393af 100644
--- a/view.c
+++ b/view.c
@@ -873,6 +873,14 @@ int view_symbols_get(View *view) {
return flags;
}
+void view_options_set(View *view, enum UiOption options) {
+ view->ui->options_set(view->ui, options);
+}
+
+enum UiOption view_options_get(View *view) {
+ return view->ui->options_get(view->ui);
+}
+
size_t view_screenline_goto(View *view, int n) {
size_t pos = view->start;
for (Line *line = view->topline; --n > 0 && line != view->lastline; line = line->next)