@codemirror/state
Advanced tools
Comparing version 0.17.1 to 0.17.2
@@ -0,1 +1,7 @@ | ||
## 0.17.2 (2021-02-19) | ||
### New features | ||
`EditorSelection.map` and `SelectionRange.map` now take an optional second argument to indicate which direction to map to. | ||
## 0.17.1 (2021-01-06) | ||
@@ -2,0 +8,0 @@ |
@@ -52,3 +52,3 @@ import { Text } from '@codemirror/text'; | ||
get goalColumn(): number | undefined; | ||
map(change: ChangeDesc): SelectionRange; | ||
map(change: ChangeDesc, assoc?: number): SelectionRange; | ||
extend(from: number, to?: number): SelectionRange; | ||
@@ -62,3 +62,3 @@ eq(other: SelectionRange): boolean; | ||
readonly mainIndex: number; | ||
map(change: ChangeDesc): EditorSelection; | ||
map(change: ChangeDesc, assoc?: number): EditorSelection; | ||
eq(other: EditorSelection): boolean; | ||
@@ -65,0 +65,0 @@ get main(): SelectionRange; |
{ | ||
"name": "@codemirror/state", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "Editor state data structures for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
306705
3852