aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-08-14 21:26:50 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-08-14 21:26:50 +0200
commit9fc353f2f17d2191cccb53af390328aeb61eefb9 (patch)
tree7f41f77764b286967b7a77f23a910d7c80f777e5 /text.h
parent46f786c23dbf1cd6c179903cab42c4f3c024710c (diff)
downloadvis-9fc353f2f17d2191cccb53af390328aeb61eefb9.tar.gz
vis-9fc353f2f17d2191cccb53af390328aeb61eefb9.tar.xz
Remove useless replace API
The removed junk might not have the same length as the newly inserted one.
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/text.h b/text.h
index cd69557..62800b8 100644
--- a/text.h
+++ b/text.h
@@ -21,8 +21,6 @@ const char *text_filename(Text*);
bool text_insert(Text*, size_t pos, const char *data);
bool text_insert_raw(Text*, size_t pos, const char *data, size_t len);
bool text_delete(Text*, size_t pos, size_t len);
-bool text_replace(Text*, size_t pos, const char *data);
-bool text_replace_raw(Text*, size_t pos, const char *data, size_t len);
void text_snapshot(Text*);
bool text_undo(Text*);
bool text_redo(Text*);