From de8e3bb7b6fedc0554cee20834001dd4a739cd88 Mon Sep 17 00:00:00 2001 From: Nick Hanley Date: Wed, 16 Nov 2022 13:28:50 -0500 Subject: fix miscellaneous spelling mistakes --- text-objects.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text-objects.h') diff --git a/text-objects.h b/text-objects.h index c2aef13..3fb829e 100644 --- a/text-objects.h +++ b/text-objects.h @@ -16,10 +16,10 @@ Filerange text_object_word(Text*, size_t pos); /* includes trailing white spaces. If at pos happens to be a white space * include all neighbouring leading white spaces and the following word. */ Filerange text_object_word_outer(Text*, size_t pos); -/* find next occurence of `word' (as word not substring) in forward/backward direction */ +/* find next occurrence of `word' (as word not substring) in forward/backward direction */ Filerange text_object_word_find_next(Text*, size_t pos, const char *word); Filerange text_object_word_find_prev(Text*, size_t pos, const char *word); -/* find next occurence of a literal string (not regex) in forward/backward direction */ +/* find next occurrence of a literal string (not regex) in forward/backward direction */ Filerange text_object_find_next(Text *txt, size_t pos, const char *search); Filerange text_object_find_prev(Text *txt, size_t pos, const char *search); /* same semantics as above but for a longword (i.e. delimited by white spaces) */ -- cgit v1.2.3