Remove unused function
This commit is contained in:
parent
178bcc2cd5
commit
a9bc74264d
1 changed files with 0 additions and 1 deletions
1
main.cpp
1
main.cpp
|
@ -32,7 +32,6 @@ string get_line(count_type r, bool clean = true) {
|
||||||
line[i] = ' ';
|
line[i] = ' ';
|
||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
char get(position p) { return get_line(file_offset+p.r)[p.c]; }
|
|
||||||
void set(position p, char ch) { file.find(file_offset+p.r)->text[p.c] = ch; }
|
void set(position p, char ch) { file.find(file_offset+p.r)->text[p.c] = ch; }
|
||||||
void new_line(count_type r, string text = "") { file.insert(file_offset+r, text); }
|
void new_line(count_type r, string text = "") { file.insert(file_offset+r, text); }
|
||||||
void insert(position p, string t) { file.find(file_offset+p.r)->text.insert(p.c, t); }
|
void insert(position p, string t) { file.find(file_offset+p.r)->text.insert(p.c, t); }
|
||||||
|
|
Loading…
Reference in a new issue