@codemirror/gutter
Advanced tools
Comparing version 0.19.0 to 0.19.1
@@ -0,1 +1,7 @@ | ||
## 0.19.1 (2021-08-16) | ||
### Bug fixes | ||
Fix a bug where range sets with gutter markers didn't map correctly in response to changes at the start of the gutter's line. | ||
## 0.19.0 (2021-08-11) | ||
@@ -2,0 +8,0 @@ |
@@ -34,3 +34,3 @@ import { EditorView, BlockInfo, ViewUpdate } from '@codemirror/view'; | ||
declare type Handlers = { | ||
[event: string]: (view: EditorView, line: BlockInfo, event: any) => boolean; | ||
[event: string]: (view: EditorView, line: BlockInfo, event: Event) => boolean; | ||
}; | ||
@@ -49,4 +49,3 @@ interface GutterConfig { | ||
/** | ||
Retrieve a set of markers to use in this gutter from the | ||
current editor state. | ||
Retrieve a set of markers to use in this gutter. | ||
*/ | ||
@@ -53,0 +52,0 @@ markers?: (view: EditorView) => (RangeSet<GutterMarker> | readonly RangeSet<GutterMarker>[]); |
@@ -25,2 +25,3 @@ import { EditorView, ViewPlugin, BlockType, PluginField, Direction } from '@codemirror/view'; | ||
GutterMarker.prototype.mapMode = MapMode.TrackBefore; | ||
GutterMarker.prototype.startSide = GutterMarker.prototype.endSide = -1; | ||
GutterMarker.prototype.point = true; | ||
@@ -27,0 +28,0 @@ /** |
{ | ||
"name": "@codemirror/gutter", | ||
"version": "0.19.0", | ||
"version": "0.19.1", | ||
"description": "Gutter and line number functionality for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
38931
946