diff --git a/syntax-color-doc/syntax-color/color-textoid.scrbl b/syntax-color-doc/syntax-color/color-textoid.scrbl index c3a02c9..d25872f 100644 --- a/syntax-color-doc/syntax-color/color-textoid.scrbl +++ b/syntax-color-doc/syntax-color/color-textoid.scrbl @@ -1,5 +1,6 @@ #lang scribble/manual @(require (for-label racket/base + racket/contract syntax-color/color-textoid racket/gui/base framework)) @@ -101,7 +102,8 @@ Like @xmethod[color:text<%> get-token-range].} Like @xmethod[color:text<%> get-backward-navigation-limit].} @defmethod[(get-regions) - (listof (list/c exact-nonnegative-integer? (or/c exact-nonnegative-integer? 'end)))]{ + (listof (list/c exact-nonnegative-integer? + (or/c exact-nonnegative-integer? 'end)))]{ Like @xmethod[color:text<%> get-regions].} diff --git a/syntax-color-doc/syntax-color/racket.scrbl b/syntax-color-doc/syntax-color/racket.scrbl index d53a0f7..d243243 100644 --- a/syntax-color-doc/syntax-color/racket.scrbl +++ b/syntax-color-doc/syntax-color/racket.scrbl @@ -1,6 +1,7 @@ #lang scribble/manual @(require (for-label racket/base racket/class + racket/contract syntax-color/color-textoid syntax-color/racket-indentation syntax-color/racket-navigation @@ -14,12 +15,12 @@ parenthesis information produced by a coloring lexer. They can work with any object that implements @racket[color-textoid<%>], which is extended by @racket[color:text<%>]. -@history[#:added "1.3"] - @section{S-Expression Navigation} @defmodule[syntax-color/racket-navigation] +@history[#:added "1.3"] + @deftogether[( @defproc[(racket-forward-sexp [text (is-a?/c color-textoid<%>)] [pos exact-nonnegative-integer?]) @@ -55,6 +56,8 @@ result is @racket[#t] when the token corresponds to @litchar["'"], @defmodule[syntax-color/racket-indentation] +@history[#:added "1.3"] + @defproc[(racket-amount-to-indent [text (is-a?/c color-textoid<%>)] [pos exact-nonnegative-integer?] [#:head-sexp-type head-sexp-type diff --git a/syntax-color-doc/syntax-color/syntax-color.scrbl b/syntax-color-doc/syntax-color/syntax-color.scrbl index 2505943..cc8bbf4 100644 --- a/syntax-color-doc/syntax-color/syntax-color.scrbl +++ b/syntax-color-doc/syntax-color/syntax-color.scrbl @@ -417,7 +417,7 @@ total length of preceding nodes. FIXME: many methods are not yet documented. - @defconstructor[([len (or/c exact-nonnegative-integer? fasle/c)] + @defconstructor[([len (or/c exact-nonnegative-integer? #f)] [data any/c])]{ Creates a token tree with a single element. }