Skip to content

Commit 5d9bdb4

Browse files
committed
document render-syntax-focused-syntax-color-style-name and render-syntax-subtitle-color-style-name
1 parent addb2c9 commit 5d9bdb4

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

gui-doc/mrlib/scribblings/syntax-browser.scrbl

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,21 @@
1717

1818
@defthing[snip-class (is-a?/c snip-class%)]{
1919
The snipclass used by the result of @racket[render-syntax/snip].
20-
}
20+
}
21+
22+
@defthing[render-syntax-focused-syntax-color-style-name string?]{
23+
The name of the style that controls the color of the focused
24+
portion of the syntax object that's being displayed.
25+
See also @racket[render-syntax-subtitle-color-style-name].
26+
27+
Defaults to a style that's derived from the basic style with
28+
the foreground color @racket["forestgreen"].
29+
}
30+
31+
@defthing[render-syntax-subtitle-color-style-name string?]{
32+
Like @racket[render-syntax-focused-syntax-color-style-name] but
33+
for the subheadings when the syntax browser details are shown.
34+
35+
Defaults to a style that's derived from the basic style with
36+
the foreground color @racket["navy"].
37+
}

0 commit comments

Comments
 (0)