File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
syntax-color-doc/syntax-color Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
#lang scribble/manual
2
2
@(require (for-label racket/base
3
+ racket/contract
3
4
syntax-color/color-textoid
4
5
racket/gui/base
5
6
framework))
@@ -101,7 +102,8 @@ Like @xmethod[color:text<%> get-token-range].}
101
102
Like @xmethod[color:text<%> get-backward-navigation-limit].}
102
103
103
104
@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 )))]{
105
107
106
108
Like @xmethod[color:text<%> get-regions].}
107
109
Original file line number Diff line number Diff line change 1
1
#lang scribble/manual
2
2
@(require (for-label racket/base
3
3
racket/class
4
+ racket/contract
4
5
syntax-color/color-textoid
5
6
syntax-color/racket-indentation
6
7
syntax-color/racket-navigation
@@ -14,12 +15,12 @@ parenthesis information produced by a coloring lexer. They can work
14
15
with any object that implements @racket[color-textoid<%>], which
15
16
is extended by @racket[color:text<%>].
16
17
17
- @history[#:added "1.3 " ]
18
-
19
18
@section{S-Expression Navigation}
20
19
21
20
@defmodule[syntax-color/racket-navigation]
22
21
22
+ @history[#:added "1.3 " ]
23
+
23
24
@deftogether[(
24
25
@defproc[(racket-forward-sexp [text (is-a?/c color-textoid<%>)]
25
26
[pos exact-nonnegative-integer?])
Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ total length of preceding nodes.
426
426
427
427
FIXME: many methods are not yet documented.
428
428
429
- @defconstructor[([len (or/c exact-nonnegative-integer? fasle/c )]
429
+ @defconstructor[([len (or/c exact-nonnegative-integer? #f )]
430
430
[data any/c])]{
431
431
Creates a token tree with a single element.
432
432
}
You can’t perform that action at this time.
0 commit comments