aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/view.c b/view.c
index d13a968..a577826 100644
--- a/view.c
+++ b/view.c
@@ -1337,3 +1337,7 @@ void view_selections_set(Selection *s, Filerange *r) {
}
view_draw(s->view);
}
+
+Text *view_text(View *view) {
+ return view->text;
+}