diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-07-16 12:02:42 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-07-16 12:02:42 +0200 |
| commit | 615bbd7da9c3fe634cb9c37d867a208df048d047 (patch) | |
| tree | d545a6026fcfefa32ad9a7bd637c967c4f03dc2f /editor.h | |
| parent | 1df415d621191a1fb1c23fa00409b25a74a3747a (diff) | |
| download | vis-615bbd7da9c3fe634cb9c37d867a208df048d047.tar.gz vis-615bbd7da9c3fe634cb9c37d867a208df048d047.tar.xz | |
Implement deletion
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*); |
