diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-31 13:34:27 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-31 15:39:12 +0200 |
| commit | f38cdb2d38357f8f01a766ea21cb30661a0d99e8 (patch) | |
| tree | fef5d07b8c47ad3a7c7f9d18e957226cafc53833 /editor.h | |
| parent | 45994302f232fc4b13fde1b85f512f9238d36613 (diff) | |
| download | vis-f38cdb2d38357f8f01a766ea21cb30661a0d99e8.tar.gz vis-f38cdb2d38357f8f01a766ea21cb30661a0d99e8.tar.xz | |
vis: cleanup handling of charwise/linewise motions
Also text objects in visual mode should now work better.
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -67,7 +67,6 @@ typedef struct { size_t pos; /* at which byte from the start of the file should the operation start? */ bool linewise; /* should the changes always affect whole lines? */ const Arg *arg; /* arbitrary arguments */ - Cursor *cursor; /* cursor (if any) which issued this operator */ } OperatorContext; typedef struct { @@ -100,7 +99,7 @@ typedef struct { typedef struct { /** collects all information until an operator is executed */ int count; - bool linewise; + int type; const Operator *op; const Movement *movement; const TextObject *textobj; |
