@codemirror/language 0.17.4 → 0.18.2

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 CHANGED
@@ -1,3 +1,41 @@
1
+ ## 0.18.2 (2021-06-01)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix an issue where asynchronous re-parsing (with dynamically loaded languages) sometimes failed to fully happen.
6
+
7
+ ## 0.18.1 (2021-03-31)
8
+
9
+ ### Breaking changes
10
+
11
+ `EditorParseContext.getSkippingParser` now replaces `EditorParseContext.skippingParser` and allows you to provide a promise that'll cause parsing to start again. (The old property remains available until the next major release.)
12
+
13
+ ### Bug fixes
14
+
15
+ Fix an issue where nested parsers could see past the end of the nested region.
16
+
17
+ ## 0.18.0 (2021-03-03)
18
+
19
+ ### Breaking changes
20
+
21
+ Update dependencies to 0.18.
22
+
23
+ ### Breaking changes
24
+
25
+ The `Language` constructor takes an additional argument that provides the top node type.
26
+
27
+ ### New features
28
+
29
+ `Language` instances now have a `topNode` property giving their top node type.
30
+
31
+ `TreeIndentContext` now has a `continue` method that allows an indenter to defer to the indentation of the parent nodes.
32
+
33
+ ## 0.17.5 (2021-02-19)
34
+
35
+ ### New features
36
+
37
+ This package now exports a `foldInside` helper function, a fold function that should work for most delimited node types.
38
+
1
39
  ## 0.17.4 (2021-01-15)
2
40
 
3
41
  ## 0.17.3 (2021-01-15)