@@ -11,11 +11,20 @@ New language features
11
11
* The new macro ` Base.Cartesian.@ncallkw ` is analogous to ` Base.Cartesian.@ncall ` ,
12
12
but allows to add keyword arguments to the function call ([ #51501 ] ).
13
13
* Support for Unicode 15.1 ([ #51799 ] ).
14
- * A new ` AbstractString ` type, ` AnnotatedString ` , is introduced that allows for
15
- regional annotations to be attached to an underlying string. This type is
16
- particularly useful for holding styling information, and is used extensively
17
- in the new ` StyledStrings ` standard library. There is also a new ` AnnotatedChar `
18
- type, that is the equivalent new ` AbstractChar ` type.
14
+ * Three new types around the idea of text with "annotations" (` Pair{Symbol, Any} `
15
+ entries, e.g. ` :lang => "en" ` or ` :face => :magenta ` ). These annotations
16
+ are preserved across operations (e.g. string concatenation with ` * ` ) when
17
+ possible.
18
+ * ` AnnotatedString ` is a new ` AbstractString ` type. It wraps an underlying
19
+ string and allows for annotations to be attached to regions of the string.
20
+ This type is used extensively in the new ` StyledStrings ` standard library to
21
+ hold styling information.
22
+ * ` AnnotatedChar ` is a new ` AbstractChar ` type. It wraps another char and
23
+ holds a list of annotations that apply to it.
24
+ * ` AnnotatedIOBuffer ` is a new ` IO ` type that mimics an ` IOBuffer ` , but has
25
+ specialised ` read ` /` write ` methods for annotated content. This can be
26
+ thought of both as a "string builder" of sorts and also as glue between
27
+ annotated and unannotated content.
19
28
* ` Manifest.toml ` files can now be renamed in the format ` Manifest-v{major}.{minor}.toml `
20
29
to be preferentially picked up by the given julia version. i.e. in the same folder,
21
30
a ` Manifest-v1.11.toml ` would be used by v1.11 and ` Manifest.toml ` by every other julia
0 commit comments