Comment global variables
This commit is contained in:
parent
6063b65fda
commit
b4c37a8291
1 changed files with 6 additions and 6 deletions
12
main.cpp
12
main.cpp
|
@ -23,12 +23,12 @@ count_type min(count_type a, count_type b) { return (a <= b) ? a : b; }
|
|||
count_type max(count_type a, count_type b) { return (a >= b) ? a : b; }
|
||||
|
||||
// Global variables
|
||||
treap file;
|
||||
position cur = {0, 0};
|
||||
count_type file_offset = 0;
|
||||
position clp;
|
||||
treap selection;
|
||||
string last_find, last_replace;
|
||||
treap file; // file representation
|
||||
position cur = {0, 0}; // cursor position
|
||||
count_type file_offset = 0; // terminal file offset
|
||||
position clp; // selection initial position
|
||||
treap selection; // selection
|
||||
string last_find, last_replace; // last find/replace inputs
|
||||
|
||||
// Accessing the file
|
||||
string get_line(count_type r, bool substitute_tab = true) {
|
||||
|
|
Loading…
Reference in a new issue