correct output contracts (fixes #19)

pull/21/head
Matthew Butterick 5 years ago
parent 52a91b7183
commit cd68f12985

@ -555,14 +555,14 @@ Get the line index in @racket[textbox] that contains @racket[position].
@defproc[(previous-line
[textbox (is-a?/c text%)]
[position (or/c exact-nonnegative-integer? #f)])
exact-nonnegative-integer?]{
(or/c exact-nonnegative-integer? #f)]{
Get the line index in @racket[textbox] of the line before the one that contains @racket[position].
}
@defproc[(next-line
[textbox (is-a?/c text%)]
[position (or/c exact-nonnegative-integer? #f)])
exact-nonnegative-integer?]{
(or/c exact-nonnegative-integer? #f)]{
Get the line index in @racket[textbox] of the line after the one that contains @racket[position].
}

Loading…
Cancel
Save