aboutsummaryrefslogtreecommitdiff
path: root/text-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-util.h')
-rw-r--r--text-util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/text-util.h b/text-util.h
index d81c645..8e9eedb 100644
--- a/text-util.h
+++ b/text-util.h
@@ -17,5 +17,7 @@ Filerange text_range_union(Filerange*, Filerange*);
Filerange text_range_new(size_t a, size_t b);
/* test whether two ranges overlap */
bool text_range_overlap(Filerange*, Filerange*);
+/* test whether a given position is within a certain range */
+bool text_range_contains(Filerange*, size_t pos);
-#endif \ No newline at end of file
+#endif