diff options
| author | Ryan Chipman <rchipman@mit.edu> | 2015-06-24 09:31:39 -0400 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-06-27 10:11:12 +0200 |
| commit | 404cc487a8f817fb3b5da1366aa4b78e05fab3ae (patch) | |
| tree | 2bdbb6dcd11a5d998738016a5c68f7c29ad1baeb /text.h | |
| parent | be8b95ddcbd5fa72f87465f27089c859e140b3b9 (diff) | |
| download | vis-404cc487a8f817fb3b5da1366aa4b78e05fab3ae.tar.gz vis-404cc487a8f817fb3b5da1366aa4b78e05fab3ae.tar.xz | |
Core undo tree changes
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ void text_snapshot(Text*); * the change occured or EPOS if nothing could be undo/redo. */ size_t text_undo(Text*); size_t text_redo(Text*); +size_t text_earlier(Text*); +size_t text_later(Text*); size_t text_pos_by_lineno(Text*, size_t lineno); size_t text_lineno_by_pos(Text*, size_t pos); |
