aboutsummaryrefslogtreecommitdiff
path: root/text-motions.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-27 18:42:21 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-27 18:44:18 +0100
commit84eeabfef92559cb71233bf69db4f1b1fd4f9cd8 (patch)
treed0b935dbe0ab6925deba1fa8a0f64dd1352529b0 /text-motions.h
parente2c6526a97018f695d3d2e9a420c36bd2797b37b (diff)
downloadvis-84eeabfef92559cb71233bf69db4f1b1fd4f9cd8.tar.gz
vis-84eeabfef92559cb71233bf69db4f1b1fd4f9cd8.tar.xz
text-motion: change text_bracket_match API
Diffstat (limited to 'text-motions.h')
-rw-r--r--text-motions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-motions.h b/text-motions.h
index 57aa09e..32e4a1f 100644
--- a/text-motions.h
+++ b/text-motions.h
@@ -103,8 +103,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);
+/* same as above but explicitly specify symbols to match */
+size_t text_bracket_match_symbol(Text*, size_t pos, const char *symbols);
/* search the given regex pattern in either forward or backward direction,
* starting from pos. does wrap around if no match was found. */