Skip to content

Tags: codemirror/search

Tags

6.5.9

Toggle 6.5.9's commit message
Version 6.5.9

### Bug fixes

When replacing a regexp match, don't expand multi-digit replacement markers to numbers beyond the captured group count in the query.

6.5.8

Toggle 6.5.8's commit message
Version 6.5.8

### Bug fixes

Fix a bug that put the selection in the wrong place after running `replaceNext` with a regexp query that could match strings of different length.

6.5.7

Toggle 6.5.7's commit message
Version 6.5.7

### Bug fixes

Fix an issue where `findNext` and `findPrevious` would do nothing when the only match in the document was partially selected.

Fix an infinite loop in `SearchCursor` when the normalizer function deletes characters.

6.5.6

Toggle 6.5.6's commit message
Version 6.5.6

### Bug fixes

Make `highlightSelectionMatches` include whitespace in the selection in its matches.

Fix a bug that caused `SearchCursor` to return invalid ranges when matching astral chars that the the normalizer normalized to single-code-unit chars.

6.5.5

Toggle 6.5.5's commit message
Version 6.5.5

### Bug fixes

Fix a bug that caused codes like `\n` to be unescaped in strings inserted via replace placeholders like `$&`.

Use the keybinding Mod-Alt-g for `gotoLine` to the search keymap, to make it usable for people whose keyboard layout uses Alt/Option-g to type some character.

6.5.4

Toggle 6.5.4's commit message
Version 6.5.4

### Bug fixes

Fix a bug that caused whole-word search to incorrectly check for word boundaries in some circumstances.

6.5.3

Toggle 6.5.3's commit message
Version 6.5.3

### Bug fixes

The `gotoLine` dialog is now populated with the current line number when you open it.

6.5.2

Toggle 6.5.2's commit message
Version 6.5.2

### Bug fixes

Don't use the very lowest precedence for match highlighting decorations.

6.5.1

Toggle 6.5.1's commit message
Version 6.5.1

### Bug fixes

Make `gotoLine` prefer to scroll the target line to the middle of the view.

Fix an issue in `SearchCursor` where character normalization could produce nonsensical matches.

6.5.0

Toggle 6.5.0's commit message
Version 6.5.0

### New features

The new `regexp` option to `search` can be used to control whether queries have the regexp flag on by default.