diff options
| author | Rob Pilling <robpilling@gmail.com> | 2016-04-12 22:56:30 +0100 |
|---|---|---|
| committer | Rob Pilling <robpilling@gmail.com> | 2016-04-12 22:56:30 +0100 |
| commit | 0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb (patch) | |
| tree | 0f9f28e8be29fd476fedd4efadb93f0af5be0941 /text-motions.h | |
| parent | 255da074c15de15d45eb1582c819d68ee480800d (diff) | |
| download | vis-0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb.tar.gz vis-0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb.tar.xz | |
Add "[(" and "])" motions for jumping to a parenthese pair's start/end
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 6066168..6a3c058 100644 --- a/text-motions.h +++ b/text-motions.h @@ -114,6 +114,8 @@ 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); +size_t text_parenthese_start(Text*, size_t pos); +size_t text_parenthese_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 */ |
