aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-28 17:22:49 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-28 17:22:49 +0200
commit69f3412a8d36b1a4a5da86ae472f7e345741b2fd (patch)
treeddf53867cd5dfd7ad724c91885c51e4c13f851f7 /editor.h
parentf38ab16901a787aff37904c5f80e94f2371c7456 (diff)
downloadvis-69f3412a8d36b1a4a5da86ae472f7e345741b2fd.tar.gz
vis-69f3412a8d36b1a4a5da86ae472f7e345741b2fd.tar.xz
vis: pass cursor to operator implementations
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 7f05b12..9c462b3 100644
--- a/editor.h
+++ b/editor.h
@@ -67,6 +67,7 @@ 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 {