diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-21 23:47:58 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:50:24 +0200 |
| commit | 549fcb4c05b6134ff0fd17ec502e0c23b2827a91 (patch) | |
| tree | 5ed53dd7605375c3cd79ce21ebe251210b29eb01 /editor.h | |
| parent | 4509a105bbe97db8b7d2b82b57f4d7413104b5c7 (diff) | |
| download | vis-549fcb4c05b6134ff0fd17ec502e0c23b2827a91.tar.gz vis-549fcb4c05b6134ff0fd17ec502e0c23b2827a91.tar.xz | |
vis: remove yet more global state from motion functions
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,11 +82,11 @@ typedef struct { } Operator; typedef struct { - size_t (*cmd)(const Arg*); /* a custom movement based on user input from vis.c */ size_t (*cur)(Cursor*); /* a movement based on current window content from view.h */ size_t (*txt)(Text*, size_t pos); /* a movement form text-motions.h */ size_t (*file)(Vis*, File*, size_t pos); size_t (*vis)(Vis*, Text*, size_t pos); + size_t (*view)(Vis*, View*); enum { LINEWISE = 1 << 0, CHARWISE = 1 << 1, |
