From 620518966fb99511c506af292cc1885f7a419881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 27 Jul 2015 21:04:20 +0200 Subject: vis: add per cursor registers --- view.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view.h') diff --git a/view.h b/view.h index ce2dc93..97fd12c 100644 --- a/view.h +++ b/view.h @@ -3,6 +3,7 @@ #include #include +#include "register.h" #include "text.h" #include "ui.h" #include "syntax.h" @@ -130,6 +131,8 @@ size_t view_cursors_pos(Cursor*); /* place cursor at `pos' which should be in the interval [0, text-size] */ void view_cursors_to(Cursor*, size_t pos); void view_cursors_scroll_to(Cursor*, size_t pos); +/* get register associated with this register */ +Register *view_cursors_register(Cursor*); /* start selected area at current cursor position. further cursor movements * will affect the selected region. */ void view_cursors_selection_start(Cursor*); -- cgit v1.2.3