-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix highlight sequencing when replacing text in code cells (#15803)
* Fix typo in comment * Fix currentIndex logic when replacing search match * Additional test for selection in mid-cell * Tests code cells specifically * Lint fixes * Isolates code cell mid-cell test * Update packages/codemirror/src/searchprovider.ts Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com> * Simplifies logic, deferring to caller to call highlightNext --------- Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
- Loading branch information
1 parent
1a98dea
commit b689a68
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters