aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-07-15 14:27:42 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-07-15 14:27:42 +0200
commit1df415d621191a1fb1c23fa00409b25a74a3747a (patch)
tree2ed25ee1bd9130ad4346b9036149e3a1f59167c4 /editor.h
parente28c4da2fc3cf0564d1bb9eb7a6e372a577535a5 (diff)
downloadvis-1df415d621191a1fb1c23fa00409b25a74a3747a.tar.gz
vis-1df415d621191a1fb1c23fa00409b25a74a3747a.tar.xz
Implement insertion
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 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*);