diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-15 22:13:10 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-15 22:13:10 +0200 |
| commit | b9007ca88b5a57a1660c85c895a117ef15c04fb4 (patch) | |
| tree | bb85d0aaf8608c86e965022ade8b2877e89253bc /view.h | |
| parent | 0987fdd792984291041797032984872102961eb0 (diff) | |
| download | vis-b9007ca88b5a57a1660c85c895a117ef15c04fb4.tar.gz vis-b9007ca88b5a57a1660c85c895a117ef15c04fb4.tar.xz | |
view: add view_cursors_place(cursor, line, col) function
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -159,6 +159,7 @@ int view_cursors_cell_set(Cursor*, int cell); /* 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); +void view_cursors_place(Cursor*, size_t line, size_t col); /* get register associated with this register */ Register *view_cursors_register(Cursor*); /* start selected area at current cursor position. further cursor movements |
