aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/text.c b/text.c
index 7fdd237..8de43a2 100644
--- a/text.c
+++ b/text.c
@@ -670,10 +670,6 @@ bool text_printf(Text *txt, size_t pos, const char *format, ...) {
return ret;
}
-size_t text_insert_newline(Text *txt, size_t pos) {
- return text_insert(txt, pos, "\n", 1) ? 1 : 0;
-}
-
static size_t revision_undo(Text *txt, Revision *rev) {
size_t pos = EPOS;
for (Change *c = rev->change; c; c = c->next) {