diff options
| author | Silvan Jegen <s.jegen@gmail.com> | 2015-12-20 14:08:04 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-12-26 21:28:56 +0100 |
| commit | 39e2b6f1b7a750af55ceeadab977354919d0ccf5 (patch) | |
| tree | f5a6653450433c54a920930a70ede9f67217c5ba /vis-core.h | |
| parent | 8572b583712abc80ee2a791b0e66d09cbfc28721 (diff) | |
| download | vis-39e2b6f1b7a750af55ceeadab977354919d0ccf5.tar.gz vis-39e2b6f1b7a750af55ceeadab977354919d0ccf5.tar.xz | |
Initialize enum values to the public API ones
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,8 +59,8 @@ typedef struct { /* Motion implementation, takes a cursor postion and returns a size_t (*view)(Vis*, View*); size_t (*win)(Vis*, Win*, size_t pos); enum { - LINEWISE = 1 << 0, /* should the covered range be extended to whole lines? */ - CHARWISE = 1 << 1, /* scrolls window content until position is visible */ + LINEWISE = VIS_MOTIONTYPE_LINEWISE, /* should the covered range be extended to whole lines? */ + CHARWISE = VIS_MOTIONTYPE_CHARWISE, /* scrolls window content until position is visible */ INCLUSIVE = 1 << 2, /* should new position be included in operator range? */ IDEMPOTENT = 1 << 3, /* does the returned postion remain the same if called multiple times? */ JUMP = 1 << 4, |
