aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h4
1 files changed, 2 insertions, 2 deletions
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) */