aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/text-objects.h b/text-objects.h
index e94d7c3..72e9a8c 100644
--- a/text-objects.h
+++ b/text-objects.h
@@ -48,6 +48,9 @@ Filerange text_object_range(Text*, size_t pos, int (*isboundary)(int));
/* a number in either decimal, hex or octal format */
Filerange text_object_number(Text*, size_t pos);
Filerange text_object_filename(Text*, size_t pos);
+/* match a search term in either forward or backward direction */
+Filerange text_object_search_forward(Text*, size_t pos, Regex*);
+Filerange text_object_search_backward(Text*, size_t pos, Regex*);
/* extend a range to cover whole lines */
Filerange text_range_linewise(Text*, Filerange*);