aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.h b/text.h
index 773e8b6..52a5fad 100644
--- a/text.h
+++ b/text.h
@@ -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);