diff options
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/text-motions.h b/text-motions.h index 061ff30..b4fee28 100644 --- a/text-motions.h +++ b/text-motions.h @@ -117,9 +117,9 @@ size_t text_block_end(Text*, size_t pos); size_t text_parenthesis_start(Text*, size_t pos); size_t text_parenthesis_end(Text*, size_t pos); /* search coresponding '(', ')', '{', '}', '[', ']', '>', '<', '"', ''' */ -size_t text_bracket_match(Text*, size_t pos); +size_t text_bracket_match(Text*, size_t pos, const Filerange *limits); /* same as above but explicitly specify symbols to match */ -size_t text_bracket_match_symbol(Text*, size_t pos, const char *symbols); +size_t text_bracket_match_symbol(Text*, size_t pos, const char *symbols, const Filerange *limits); /* search the given regex pattern in either forward or backward direction, * starting from pos. does wrap around if no match was found. */ |
