diff options
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/text-motions.h b/text-motions.h index cca84c1..5df4e32 100644 --- a/text-motions.h +++ b/text-motions.h @@ -16,6 +16,9 @@ size_t text_end(Text*, size_t pos); size_t text_char_next(Text*, size_t pos); size_t text_char_prev(Text*, size_t pos); +size_t text_codepoint_next(Text*, size_t pos); +size_t text_codepoint_prev(Text*, size_t pos); + /* find the given substring either in forward or backward direction. * does not wrap around at file start / end. if no match is found return * original position */ |
