summary refs log tree commit diff
path: root/doc.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc.h')
-rw-r--r--doc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc.h b/doc.h
index ab66272..132999e 100644
--- a/doc.h
+++ b/doc.h
@@ -32,6 +32,8 @@ void doc_add_text(struct doc *, const char *);
 void doc_add_textn(struct doc *, const char *, size_t);
 
 struct doc_line *doc_line_at(struct doc *d, size_t ofs);
+int doc_line_prevp(struct doc *d, size_t ofs);
+int doc_line_nextp(struct doc *d, size_t ofs);
 int doc_line_prev(struct doc *d, size_t *ofs);
 int doc_line_next(struct doc *d, size_t *ofs);