diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-15 22:12:36 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-15 22:12:36 +0200 |
| commit | 0987fdd792984291041797032984872102961eb0 (patch) | |
| tree | e1c3a6cd1e8d5c6250f0664d11b75972e53ddf98 /view.h | |
| parent | f958ace51f5ac9d4528cfadfce57bcab34d87498 (diff) | |
| download | vis-0987fdd792984291041797032984872102961eb0.tar.gz vis-0987fdd792984291041797032984872102961eb0.tar.xz | |
view: add view_cursors_col function
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -150,6 +150,8 @@ void view_cursors_primary_set(Cursor*); size_t view_cursors_pos(Cursor*); /* get 1-based line number of cursor location */ size_t view_cursors_line(Cursor*); +/* get 1-based column (number of graphemes on line) cursor postion */ +size_t view_cursors_col(Cursor*); /* get/set zero based index of cell on which cursor currently resides, * -1 if cursor is currently not visible */ int view_cursors_cell_get(Cursor*); |
