aboutsummaryrefslogtreecommitdiff
path: root/text-motions.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-motions.h')
-rw-r--r--text-motions.h2
1 files changed, 2 insertions, 0 deletions
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. */