@codemirror/language 0.19.10 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/index.cjs +1193 -32
- package/dist/index.d.ts +483 -50
- package/dist/index.js +1177 -35
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.20.0 (2022-04-20)
|
|
2
|
+
|
|
3
|
+
### Breaking changes
|
|
4
|
+
|
|
5
|
+
`HighlightStyle.get` is now called `highlightingFor`.
|
|
6
|
+
|
|
7
|
+
`HighlightStyles` no longer function as extensions (to improve tree shaking), and must be wrapped with `syntaxHighlighting` to add to an editor configuration.
|
|
8
|
+
|
|
9
|
+
`Language` objects no longer have a `topNode` property.
|
|
10
|
+
|
|
11
|
+
### New features
|
|
12
|
+
|
|
13
|
+
`HighlightStyle` and `defaultHighlightStyle` from the now-removed @codemirror/highlight package now live in this package.
|
|
14
|
+
|
|
15
|
+
The new `forceParsing` function can be used to run the parser forward on an editor view.
|
|
16
|
+
|
|
17
|
+
The exports that used to live in @codemirror/matchbrackets are now exported from this package.
|
|
18
|
+
|
|
19
|
+
The @codemirror/fold package has been merged into this one.
|
|
20
|
+
|
|
21
|
+
The exports from the old @codemirror/stream-parser package now live in this package.
|
|
22
|
+
|
|
1
23
|
## 0.19.10 (2022-03-31)
|
|
2
24
|
|
|
3
25
|
### Bug fixes
|