diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-27 21:04:20 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-28 13:21:50 +0200 |
| commit | 620518966fb99511c506af292cc1885f7a419881 (patch) | |
| tree | a3ae882163f2837bd4b55a5a67dc46b0c6fbf731 /view.h | |
| parent | c9499ddd97d1bb8395e896050e92c6eee7e4b205 (diff) | |
| download | vis-620518966fb99511c506af292cc1885f7a419881.tar.gz vis-620518966fb99511c506af292cc1885f7a419881.tar.xz | |
vis: add per cursor registers
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include <stddef.h> #include <stdbool.h> +#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*); |
