diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-28 11:11:07 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-28 11:11:07 +0200 |
| commit | ddf8647a5393e049f514a39764aebd8893ce00b9 (patch) | |
| tree | 0539941bd5ce776f89af000e8579ae833b90f8c5 /text.h | |
| parent | d954d51a4ce4d6fa13e9312fb72afa0f666a3378 (diff) | |
| download | vis-ddf8647a5393e049f514a39764aebd8893ce00b9.tar.gz vis-ddf8647a5393e049f514a39764aebd8893ce00b9.tar.xz | |
Make '.' repeat last insertion
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -45,6 +45,8 @@ void text_snapshot(Text*); size_t text_undo(Text*); size_t text_redo(Text*); +size_t text_last_insertion(Text*, const char **content); + size_t text_pos_by_lineno(Text*, size_t lineno); size_t text_lineno_by_pos(Text*, size_t pos); |
