When literal is off, \n, \r, and \t escapes are now also supported in replacement text.
Make sure search dialog inputs don't get treated as form fields when the editor is created inside a form.
Fix a bug in RegExpCursor that would cause it to stop matching in the middle of a line when its current match position was equal to the length of the line.
6.2.1 (2022-09-26)
Bug fixes
By-word search queries will now skip any result that had word characters both before and after a match boundary.
6.2.0 (2022-08-25)
New features
A new wholeWord search query flag can be used to limit matches to whole words.
SearchCursor and RegExpCursor now support a test parameter that can be used to ignore certain matches.
6.1.0 (2022-08-16)
Bug fixes
Fix an infinite loop when the match position of a RegExpCursor ended up in the middle of an UTF16 surrogate pair.
New features
The literal search option can now be set to make literal queries the default.
The new searchPanelOpen function can be used to find out whether the search panel is open for a given state.
6.0.1 (2022-07-22)
Bug fixes
findNext and findPrevious will now return to the current result (and scroll it into view) if no other matches are found.
6.0.0 (2022-06-08)
Bug fixes
Don't crash when a custom search panel doesn't have a field named 'search'.
Make sure replacements are announced to screen readers.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @codemirror/search from 0.19.6 to 6.2.2.
Changelog
Sourced from
@codemirror/search
's changelog.... (truncated)
Commits
1cb6329
Mark version 6.2.26075c93
Fix a bug in RegExpCursor line tracking7b1e2c8
Make sure search dialog fields are not part of wrapping formsb15622f
Also support \n, \r, \t in replacement textc8a0939
Mark version 6.2.1eb85d6e
Fix accidentally included sentence in changelog7fb7132
Remove stray closing parenf1c1124
Adjust by-word filter conditionse2d6ffb
Mark version 6.2.045258b4
Support wholeWord flag in search panelDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)