@codemirror/search
Advanced tools
Comparing version 0.19.5 to 0.19.6
@@ -0,1 +1,7 @@ | ||
## 0.19.6 (2022-01-27) | ||
### Bug fixes | ||
Make `selectNextOccurrence` scroll the newly selected range into view. | ||
## 0.19.5 (2021-12-16) | ||
@@ -2,0 +8,0 @@ |
@@ -521,3 +521,3 @@ import { EditorView, Decoration, ViewPlugin, runScopeHandlers } from '@codemirror/view'; | ||
selection: state.selection.addRange(EditorSelection.range(range.from, range.to), false), | ||
scrollIntoView: true | ||
effects: EditorView.scrollIntoView(range.to) | ||
})); | ||
@@ -524,0 +524,0 @@ return true; |
{ | ||
"name": "@codemirror/search", | ||
"version": "0.19.5", | ||
"version": "0.19.6", | ||
"description": "Search functionality for the CodeMirror code editor", | ||
@@ -33,3 +33,3 @@ "scripts": { | ||
"@codemirror/text": "^0.19.0", | ||
"@codemirror/view": "^0.19.0", | ||
"@codemirror/view": "^0.19.34", | ||
"crelt": "^1.0.5" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is not supported yet
100217
Updated@codemirror/view@^0.19.34