aboutsummaryrefslogtreecommitdiff
path: root/text-motions.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-motions.h')
-rw-r--r--text-motions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/text-motions.h b/text-motions.h
index 84f6ecc..e549402 100644
--- a/text-motions.h
+++ b/text-motions.h
@@ -16,7 +16,8 @@ size_t text_char_next(Text*, size_t pos);
size_t text_char_prev(Text*, size_t pos);
/* find the given substring either in forward or backward direction.
- * does not wrap around at file start / end. */
+ * does not wrap around at file start / end. if no match is found return
+ * original position */
size_t text_find_char_next(Text*, size_t pos, const char *s, size_t len);
size_t text_find_char_prev(Text*, size_t pos, const char *s, size_t len);