@codemirror/search
Advanced tools
Comparing version 0.19.9 to 0.19.10
@@ -0,1 +1,7 @@ | ||
## 0.19.10 (2022-04-04) | ||
### Bug fixes | ||
Make sure search matches are highlighted when scrolling new content into view. | ||
## 0.19.9 (2022-03-03) | ||
@@ -2,0 +8,0 @@ |
@@ -745,3 +745,3 @@ import { EditorView, Decoration, ViewPlugin, runScopeHandlers } from '@codemirror/view'; | ||
let state = update.state.field(searchState); | ||
if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet) | ||
if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet || update.viewportChanged) | ||
this.decorations = this.highlight(state); | ||
@@ -748,0 +748,0 @@ } |
{ | ||
"name": "@codemirror/search", | ||
"version": "0.19.9", | ||
"version": "0.19.10", | ||
"description": "Search 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
105418