summary refs log tree commit diff
path: root/doc.h
diff options
context:
space:
mode:
authorwrmr2024-11-06 02:09:26 -0500
committerwrmr2024-11-06 02:09:26 -0500
commita3f7fb80590705c1a7d7b42edd8f5f1362f09cfa (patch)
tree8d12c8f92c13c327571e77b8604b25801520afc7 /doc.h
parentd2c280d441ddf974c90447d0a9252f5711802304 (diff)
MORE prompt
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);