add `schemecommentfont'
original commit: 0b2beace40ceccbdeda4f66c3124b725730bc895
This commit is contained in:
parent
78886fda93
commit
037d6f0f4c
|
@ -30,7 +30,7 @@
|
|||
(provide/contract [id styling-f/c] ...))
|
||||
(provide-styling racketmodfont racketoutput
|
||||
racketerror racketfont racketvalfont racketresultfont racketidfont racketvarfont
|
||||
racketparenfont racketkeywordfont racketmetafont
|
||||
racketcommentfont racketparenfont racketkeywordfont racketmetafont
|
||||
onscreen defterm filepath exec envvar Flag DFlag PFlag DPFlag math
|
||||
procedure
|
||||
indexed-file indexed-envvar idefterm pidefterm)
|
||||
|
@ -101,6 +101,8 @@
|
|||
(make-element paren-color (decode-content str)))
|
||||
(define (racketmetafont . str)
|
||||
(make-element meta-color (decode-content str)))
|
||||
(define (racketcommentfont . str)
|
||||
(make-element comment-color (decode-content str)))
|
||||
(define (racketmodfont . str)
|
||||
(make-element module-color (decode-content str)))
|
||||
(define (racketkeywordfont . str)
|
||||
|
|
|
@ -462,6 +462,9 @@ sub-form in a procedure being documented).}
|
|||
@racket[racketfont], but colored as meta-syntax, such as backquote or
|
||||
unquote.}
|
||||
|
||||
@defproc[(racketcommentfont [pre-content pre-content?] ...) element?]{Like
|
||||
@racket[racketfont], but colored as a comment.}
|
||||
|
||||
@defproc[(racketerror [pre-content pre-content?] ...) element?]{Like
|
||||
@racket[racketfont], but colored as error-message text.}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user