From 255da074c15de15d45eb1582c819d68ee480800d Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Tue, 12 Apr 2016 22:56:29 +0100 Subject: Add "[{" and "]}" motions to jump to a block'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 e601073..6066168 100644 --- a/text-motions.h +++ b/text-motions.h @@ -112,6 +112,8 @@ size_t text_function_end_prev(Text*, size_t pos); size_t text_section_next(Text*, size_t pos); 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); /* search coresponding '(', ')', '{', '}', '[', ']', '>', '<', '"', ''' */ size_t text_bracket_match(Text*, size_t pos); /* same as above but explicitly specify symbols to match */ -- cgit v1.2.3