Skip to content

Commit 67a4899

Browse files
committed
docs: linkify some contract combinators
1 parent 025ae97 commit 67a4899

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

syntax-color-doc/syntax-color/color-textoid.scrbl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#lang scribble/manual
22
@(require (for-label racket/base
3+
racket/contract
34
syntax-color/color-textoid
45
racket/gui/base
56
framework))
@@ -101,7 +102,8 @@ Like @xmethod[color:text<%> get-token-range].}
101102
Like @xmethod[color:text<%> get-backward-navigation-limit].}
102103

103104
@defmethod[(get-regions)
104-
(listof (list/c exact-nonnegative-integer? (or/c exact-nonnegative-integer? 'end)))]{
105+
(listof (list/c exact-nonnegative-integer?
106+
(or/c exact-nonnegative-integer? 'end)))]{
105107

106108
Like @xmethod[color:text<%> get-regions].}
107109

syntax-color-doc/syntax-color/racket.scrbl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#lang scribble/manual
22
@(require (for-label racket/base
33
racket/class
4+
racket/contract
45
syntax-color/color-textoid
56
syntax-color/racket-indentation
67
syntax-color/racket-navigation
@@ -14,12 +15,12 @@ parenthesis information produced by a coloring lexer. They can work
1415
with any object that implements @racket[color-textoid<%>], which
1516
is extended by @racket[color:text<%>].
1617

17-
@history[#:added "1.3"]
18-
1918
@section{S-Expression Navigation}
2019

2120
@defmodule[syntax-color/racket-navigation]
2221

22+
@history[#:added "1.3"]
23+
2324
@deftogether[(
2425
@defproc[(racket-forward-sexp [text (is-a?/c color-textoid<%>)]
2526
[pos exact-nonnegative-integer?])

syntax-color-doc/syntax-color/syntax-color.scrbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ total length of preceding nodes.
426426

427427
FIXME: many methods are not yet documented.
428428

429-
@defconstructor[([len (or/c exact-nonnegative-integer? fasle/c)]
429+
@defconstructor[([len (or/c exact-nonnegative-integer? #f)]
430430
[data any/c])]{
431431
Creates a token tree with a single element.
432432
}

0 commit comments

Comments
 (0)