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 0e372c1..c2a5812 100644
--- a/text.h
+++ b/text.h
@@ -97,6 +97,8 @@ bool text_iterator_byte_prev(Iterator*, char *b);
/* if the new position is at EOF a NUL byte (which is not actually
* part of the file) is read. */
bool text_iterator_byte_next(Iterator*, char *b);
+bool text_iterator_byte_find_prev(Iterator*, char b);
+bool text_iterator_byte_find_next(Iterator*, char b);
/* move to the next/previous UTF-8 encoded Unicode codepoint
* and set c (if it is non NULL) to the first byte */
bool text_iterator_codepoint_next(Iterator *it, char *c);