aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
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*);