diff --git a/main.cpp b/main.cpp index 8dbfe58..79bfa84 100644 --- a/main.cpp +++ b/main.cpp @@ -32,7 +32,6 @@ string get_line(count_type r, bool clean = true) { line[i] = ' '; 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 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); }