From a9bc74264dddc4ce2b2b85464249656fc3897512 Mon Sep 17 00:00:00 2001 From: Matuush Date: Wed, 16 Apr 2025 15:19:27 +0200 Subject: [PATCH] Remove unused function --- main.cpp | 1 - 1 file changed, 1 deletion(-) 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); }