@codemirror/text
Advanced tools
Comparing version 0.19.1 to 0.19.2
@@ -0,1 +1,7 @@ | ||
## 0.19.2 (2021-08-25) | ||
### New features | ||
`Text.children` is now public, and can be used to iterate over the `Text` objects in a tree. | ||
## 0.19.1 (2021-08-23) | ||
@@ -2,0 +8,0 @@ |
@@ -79,3 +79,2 @@ /** | ||
abstract readonly lines: number; | ||
[Symbol.iterator]: () => Iterator<string>; | ||
/** | ||
@@ -135,2 +134,7 @@ Get the line description around the given position. | ||
/** | ||
If this is a branch node, `children` will hold the `Text` | ||
objects that it is made up of. For leaf nodes, this holds null. | ||
*/ | ||
abstract readonly children: readonly Text[] | null; | ||
/** | ||
Create a `Text` instance for the given array of lines. | ||
@@ -137,0 +141,0 @@ */ |
{ | ||
"name": "@codemirror/text", | ||
"version": "0.19.1", | ||
"version": "0.19.2", | ||
"description": "Document data structure for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59806
1518