From 69f3412a8d36b1a4a5da86ae472f7e345741b2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 28 Jul 2015 17:22:49 +0200 Subject: vis: pass cursor to operator implementations --- editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor.h') 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 { -- cgit v1.2.3