aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/text.h b/text.h
index 217c801..7d7f19d 100644
--- a/text.h
+++ b/text.h
@@ -41,6 +41,7 @@ struct stat text_stat(Text*);
bool text_insert(Text*, size_t pos, const char *data, size_t len);
/* delete `len' bytes starting from `pos' */
bool text_delete(Text*, size_t pos, size_t len);
+bool text_delete_range(Text*, Filerange*);
/* mark the current text state, such that it can be {un,re}done */
void text_snapshot(Text*);
/* undo/redo to the last snapshotted state. returns the position where