projects
/
visor
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[visor]
/
libvisor
/
src
/
vimpl.h
1
#ifndef VIMPL_H_
2
#define VIMPL_H_
3
4
#include "visor.h"
5
6
struct visor {
7
struct vi_fileops fop;
8
struct vi_buffer *buflist; /* circular linked list of buffers cur first */
9
};
10
11
struct vi_buffer {
12
struct visor *vi;
13
char *path;
14
struct vi_buffer *next, *prev;
15
16
vi_addr cursor, view_start;
17
int view_xscroll;
18
19
char *orig;
20
long orig_size;
21
char *add;
22
int add_size, add_max;
23
24
struct vi_span *spans;
25
int num_spans, max_spans;
26
};
27
28
#endif /* VIMPL_H_ */