From 0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Tue, 12 Apr 2016 22:56:30 +0100 Subject: Add "[(" and "])" motions for jumping to a parenthese pair's start/end --- text-motions.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'text-motions.h') diff --git a/text-motions.h b/text-motions.h index 6066168..6a3c058 100644 --- a/text-motions.h +++ b/text-motions.h @@ -114,6 +114,8 @@ size_t text_section_prev(Text*, size_t pos); */ size_t text_block_start(Text*, size_t pos); size_t text_block_end(Text*, size_t pos); +size_t text_parenthese_start(Text*, size_t pos); +size_t text_parenthese_end(Text*, size_t pos); /* search coresponding '(', ')', '{', '}', '[', ']', '>', '<', '"', ''' */ size_t text_bracket_match(Text*, size_t pos); /* same as above but explicitly specify symbols to match */ -- cgit v1.2.3