aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-22 11:47:38 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-22 12:35:15 +0200
commit7318931acca4e6928a8014dd00dc66f6f061b6c4 (patch)
treeea8bc1b754f7cd2b609fc71ee69ff66a8e6a0eab /editor.h
parent4d7c630ff37fd0609aa58f60d6bd08fe53e57533 (diff)
downloadvis-7318931acca4e6928a8014dd00dc66f6f061b6c4.tar.gz
vis-7318931acca4e6928a8014dd00dc66f6f061b6c4.tar.xz
More renames, no functional changes
Win -> View, window_* -> view_*
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h6
1 files changed, 3 insertions, 3 deletions
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 */