-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcursor.cpp
17 lines (17 loc) · 919 Bytes
/
cursor.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Cursor {
public:
int line, pos, vline, vpos, oline, opos, vf, vl, lastline, lastline_lines, maxx;
// ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
// . . . . . . . . . . max value of x
// . . . . . . . . . lines taken by lastline
// . . . . . . . . i forgor *_*
// . . . . . . . last line visible
// . . . . . . first line visible
// . . . . . actual cur position on file
// . . . . actual cur line on file
// . . . visual point position
// . . visual point line
// . position of cursor
// line of cursor
char mode;
};