From 549fcb4c05b6134ff0fd17ec502e0c23b2827a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 21 Oct 2015 23:47:58 +0200 Subject: vis: remove yet more global state from motion functions --- editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 6ae2cb2..a9cc4ae 100644 --- a/editor.h +++ b/editor.h @@ -82,11 +82,11 @@ typedef struct { } Operator; typedef struct { - size_t (*cmd)(const Arg*); /* a custom movement based on user input from vis.c */ size_t (*cur)(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)(Vis*, File*, size_t pos); size_t (*vis)(Vis*, Text*, size_t pos); + size_t (*view)(Vis*, View*); enum { LINEWISE = 1 << 0, CHARWISE = 1 << 1, -- cgit v1.2.3