From 1df415d621191a1fb1c23fa00409b25a74a3747a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 15 Jul 2014 14:27:42 +0200 Subject: Implement insertion --- editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 6620fce..ff750a9 100644 --- a/editor.h +++ b/editor.h @@ -10,7 +10,7 @@ typedef enum { typedef Iterate (*iterator_callback_t)(void *, size_t pos, const char *content, size_t len); -void editor_insert(Editor*, size_t pos, char *c); +bool editor_insert(Editor*, size_t pos, char *c); void editor_delete(Editor*, size_t start, size_t end); bool editor_undo(Editor*); bool editor_redo(Editor*); -- cgit v1.2.3