From a3bb33c07d2ff62e4b2c6ec0782bb86211a42308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 21 Oct 2015 23:30:14 +0200 Subject: vis: remove more global state from motion functions --- editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 1cebfb0..0187e0a 100644 --- a/editor.h +++ b/editor.h @@ -85,7 +85,8 @@ typedef struct { size_t (*cmd)(const Arg*); /* a custom movement based on user input from vis.c */ size_t (*view)(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)(File*, size_t pos); + size_t (*file)(Vis*, File*, size_t pos); + size_t (*vis)(Vis*, Text*, size_t pos); enum { LINEWISE = 1 << 0, CHARWISE = 1 << 1, -- cgit v1.2.3