diff options
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/text-motions.h b/text-motions.h index b1388c8..cf108b3 100644 --- a/text-motions.h +++ b/text-motions.h @@ -79,10 +79,10 @@ size_t text_word_start_prev(Text*, size_t pos); /* * More general versions of the above, define your own word boundaries. */ -size_t text_customword_start_next(Text*, size_t pos, int (*isboundry)(int)); -size_t text_customword_start_prev(Text*, size_t pos, int (*isboundry)(int)); -size_t text_customword_end_next(Text*, size_t pos, int (*isboundry)(int)); -size_t text_customword_end_prev(Text*, size_t pos, int (*isboundry)(int)); +size_t text_customword_start_next(Text*, size_t pos, int (*isboundary)(int)); +size_t text_customword_start_prev(Text*, size_t pos, int (*isboundary)(int)); +size_t text_customword_end_next(Text*, size_t pos, int (*isboundary)(int)); +size_t text_customword_end_prev(Text*, size_t pos, int (*isboundary)(int)); /* TODO: implement the following semantics * A sentence is defined as ending at a '.', '!' or '?' followed by either the * end of a line, or by a space or tab. Any number of closing ')', ']', '"' |
