File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,18 @@ New language features
88 difference between ` public ` and ` export ` is that ` public ` names do not become
99 available when ` using ` a package/module. ([ #50105 ] )
1010* ` ScopedValue ` implement dynamic scope with inheritance across tasks ([ #50958 ] ).
11+ * A new ` AbstractString ` type, ` StyledString ` , is introduced that allows for
12+ (arbitrary) regional annotations to be attached to an underlying string. This is
13+ very useful for allowing styling information to be encoded separately, and along
14+ with ` Faces ` provides a much more sophisticated approach for styling that
15+ ` printstyled ` . There is also a new ` StyledChar ` type, that is the equivalent
16+ new ` AbstractChar ` type.
17+ * The new ` Faces ` struct serves as a container for text styling information
18+ (think typeface), and comes with a framework to provide a convenient,
19+ extensible (via ` addface! ` ), and customisable (see ` loadfaces! ` ) approach to
20+ styled content.
21+ * The new ` @S_str ` string macro provides a convenient way of creating a
22+ ` StyledString ` with various faces or other attributes applied.
1123
1224Language changes
1325----------------
You can’t perform that action at this time.
0 commit comments