aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 1 insertions, 1 deletions
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,