@codemirror/search
Advanced tools
Changelog
0.19.0 (2021-08-11)
Make sure to prevent the native Mod-d behavior so that the editor doesn't lose focus after selecting past the last occurrence.
Changelog
0.18.4 (2021-05-27)
Initialize the search query to the current selection, when there is one, when opening the search dialog.
Add a searchConfig
function, supporting an option to put the search panel at the top of the editor.
Changelog
0.18.3 (2021-05-18)
Fix a bug where the first search command in a new editor wouldn't properly open the panel.
New command selectNextOccurrence
that selects the next occurrence of the selected word (bound to Mod-d in the search keymap).
Changelog
0.18.2 (2021-03-19)
The search interface and cursor will no longer include overlapping matches (aligning with what all other editors are doing).
The package now exports a RegExpCursor
which is a search cursor that matches regular expression patterns.
The search/replace interface now allows the user to use regular expressions.
The SearchCursor
class now has a nextOverlapping
method that includes matches that start inside the previous match.
Basic backslash escapes (\n, \r, \t, and \) are now accepted in string search patterns in the UI.
Changelog
0.18.1 (2021-03-15)
Fix an issue where entering an invalid input in the goto-line dialog would submit a form and reload the page.