aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-07-16 12:02:42 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-07-16 12:02:42 +0200
commit615bbd7da9c3fe634cb9c37d867a208df048d047 (patch)
treed545a6026fcfefa32ad9a7bd637c967c4f03dc2f /editor.h
parent1df415d621191a1fb1c23fa00409b25a74a3747a (diff)
downloadvis-615bbd7da9c3fe634cb9c37d867a208df048d047.tar.gz
vis-615bbd7da9c3fe634cb9c37d867a208df048d047.tar.xz
Implement deletion
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index ff750a9..3704d37 100644
--- a/editor.h
+++ b/editor.h
@@ -11,7 +11,7 @@ typedef Iterate (*iterator_callback_t)(void *, size_t pos, const char *content,
bool editor_insert(Editor*, size_t pos, char *c);
-void editor_delete(Editor*, size_t start, size_t end);
+bool editor_delete(Editor*, size_t pos, size_t len);
bool editor_undo(Editor*);
bool editor_redo(Editor*);
void editor_snapshot(Editor*);