From 7318931acca4e6928a8014dd00dc66f6f061b6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 22 Apr 2015 11:47:38 +0200 Subject: More renames, no functional changes Win -> View, window_* -> view_* --- editor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 5d038c1..a3e220b 100644 --- a/editor.h +++ b/editor.h @@ -22,7 +22,7 @@ typedef union { bool b; int i; const char *s; - void (*w)(Win*); /* generic window commands */ + void (*w)(View*); /* generic window commands */ void (*f)(Editor*); /* generic editor commands */ } Arg; @@ -79,7 +79,7 @@ typedef struct { typedef struct { size_t (*cmd)(const Arg*); /* a custom movement based on user input from vis.c */ - size_t (*win)(Win*); /* a movement based on current window content from window.h */ + size_t (*view)(View*); /* a movement based on current window content from window.h */ size_t (*txt)(Text*, size_t pos); /* a movement form text-motions.h */ size_t (*file)(File*, size_t pos); enum { @@ -207,7 +207,7 @@ struct EditorWin { Editor *editor; /* editor instance to which this window belongs */ UiWin *ui; File *file; /* file being displayed in this window */ - Win *view; /* currently displayed part of underlying text */ + View *view; /* currently displayed part of underlying text */ ViewEvent events; RingBuffer *jumplist; /* LRU jump management */ ChangeList changelist; /* state for iterating through least recently changes */ -- cgit v1.2.3