aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-08-28 16:58:33 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-08-28 16:58:33 +0200
commit7c04ebd1309ea8e9032003a21c1d7594a8a75207 (patch)
treece05b005bc4961a35ff8c1ad01bbe3014130641b /text-objects.h
parentac4570c5534fbc9499d15eb58d97fbb2048e5fc6 (diff)
downloadvis-7c04ebd1309ea8e9032003a21c1d7594a8a75207.tar.gz
vis-7c04ebd1309ea8e9032003a21c1d7594a8a75207.tar.xz
text-objects: add objects delimited by brackets or quotes
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 de8dcfb..de3fdc3 100644
--- a/text-objects.h
+++ b/text-objects.h
@@ -11,5 +11,8 @@ Filerange text_object_word_boundry(Text*, size_t pos, int (*isboundry)(int));
Filerange text_object_char(Text*, size_t pos, char c);
Filerange text_object_sentence(Text*, size_t pos);
Filerange text_object_paragraph(Text*, size_t pos);
+/* range delimited by either (), {}, [], <>, ", '. the delimiters themself are not
+ * included in the range */
+Filerange text_object_bracket(Text*, size_t pos, char type);
#endif