diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-08-28 15:04:43 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-08-28 15:04:43 +0200 |
| commit | ba8dedd3a813b3f4565bac985fe6793e8da27016 (patch) | |
| tree | 5cd36b08115f32eae8a8c2d93bd3a41ef9fb3c53 /text-motions.h | |
| parent | 8a33f6ab4edaf9e43388f99b75229aab1ee7ba23 (diff) | |
| download | vis-ba8dedd3a813b3f4565bac985fe6793e8da27016.tar.gz vis-ba8dedd3a813b3f4565bac985fe6793e8da27016.tar.xz | |
motion: add character wise motion
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 234376c..335adaf 100644 --- a/text-motions.h +++ b/text-motions.h @@ -4,6 +4,9 @@ #include <stddef.h> #include "text.h" +size_t text_char_next(Text*, size_t pos); +size_t text_char_prev(Text*, size_t pos); + 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); |
