diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-10 20:58:48 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-10 21:34:14 +0200 |
| commit | 041d162922e679723110e362eeaf6cbdd9892ca9 (patch) | |
| tree | c3ebc9bcaf051a3390a2c3e6cb2122d13d83262a /text-motions.h | |
| parent | 5bb264e8fc771ef5f24afa531231cbde5066c162 (diff) | |
| download | vis-041d162922e679723110e362eeaf6cbdd9892ca9.tar.gz vis-041d162922e679723110e362eeaf6cbdd9892ca9.tar.xz | |
Highlight matching cursor symbol
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 2 |
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. */ |
