diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-21 23:30:14 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:50:24 +0200 |
| commit | a3bb33c07d2ff62e4b2c6ec0782bb86211a42308 (patch) | |
| tree | 2f07bad5790f1b707629f1c97253d350a778c064 /editor.h | |
| parent | c9fd8bd23b633d254940c77e40bb280e2332b579 (diff) | |
| download | vis-a3bb33c07d2ff62e4b2c6ec0782bb86211a42308.tar.gz vis-a3bb33c07d2ff62e4b2c6ec0782bb86211a42308.tar.xz | |
vis: remove more global state from motion functions
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -85,7 +85,8 @@ typedef struct { size_t (*cmd)(const Arg*); /* a custom movement based on user input from vis.c */ size_t (*view)(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)(File*, size_t pos); + size_t (*file)(Vis*, File*, size_t pos); + size_t (*vis)(Vis*, Text*, size_t pos); enum { LINEWISE = 1 << 0, CHARWISE = 1 << 1, |
