From 041d162922e679723110e362eeaf6cbdd9892ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 10 Apr 2015 20:58:48 +0200 Subject: Highlight matching cursor symbol --- 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 dca9fac..e2dc064 100644 --- a/text-motions.h +++ b/text-motions.h @@ -76,6 +76,8 @@ size_t text_section_prev(Text*, size_t pos); */ /* search coresponding '(', ')', '{', '}', '[', ']', '>', '<', '"', ''' */ size_t text_bracket_match(Text*, size_t pos); +/* same as above but ignore symbols contained in last argument */ +size_t text_bracket_match_except(Text*, size_t pos, const char *except); /* search the given regex pattern in either forward or backward direction, * starting from pos. does wrap around if no match was found. */ -- cgit v1.2.3