From 7c04ebd1309ea8e9032003a21c1d7594a8a75207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 28 Aug 2014 16:58:33 +0200 Subject: text-objects: add objects delimited by brackets or quotes --- text-objects.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'text-objects.h') 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 -- cgit v1.2.3