Skip to content

Commit d89b0d9

Browse files
committed
update version number for invisible paren changes
1 parent 65506d6 commit d89b0d9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

syntax-color-doc/syntax-color/paren-tree.scrbl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Parenthesis matching code built on top of @racket[token-tree%].
2121
@method[paren-tree% match-backward]. The @racket[paren-tree%] also supports a notion of invisible
2222
parentheses that take up no space, where the opens exist only at the start of a token
2323
and the closes exist only at the end of a token.
24+
25+
@history[#:changed "1.6" @list{Added support for invisible parens.}]
2426
}
2527

2628
@defmethod[(add-token [type (or/c #f symbol?)]
@@ -37,6 +39,8 @@ Parenthesis matching code built on top of @racket[token-tree%].
3739
indicate how many of each there are on this token (note that
3840
the invisible opens all exist at the start of the token and
3941
the invisible closes all exist at the end of the token).
42+
43+
@history[#:changed "1.6" @list{Added @racket[#:invisible-opens] and @racket[#:invisible-closes] arguments.}]
4044
}
4145

4246
@defmethod[(match-forward [pos natural?]
@@ -70,6 +74,8 @@ Parenthesis matching code built on top of @racket[token-tree%].
7074
highlighting. If all three are @racket[#f], then there was
7175
no tree to search, or the position did not immediately
7276
precede an open.
77+
78+
@history[#:changed "1.6" @list{Added @racket[#:invisible] argument.}]
7379
}
7480

7581
@defmethod[(match-backward [pos natural?]
@@ -89,6 +95,8 @@ Parenthesis matching code built on top of @racket[token-tree%].
8995
@racket[paren-tree% match-forward]. So, if the match is
9096
successful, the first result is the location of the open
9197
paren and the second is the close.
98+
99+
@history[#:changed "1.6" @list{Added @racket[#:invisible] argument.}]
92100
}
93101

94102
@defmethod[(split-tree [pos natural?]) void?]{
@@ -115,6 +123,8 @@ Parenthesis matching code built on top of @racket[token-tree%].
115123

116124
@defmethod[(get-invisible-count [pos natural?]) (values natural? natural?)]{
117125
Returns the number of invisible opens and invisible closes at @racket[pos].
126+
127+
@history[#:added "1.6"]
118128
}
119129
]
120130

0 commit comments

Comments
 (0)