Add selectNextOccurrence command #1

Merged
Daninet merged 1 commit from main into main 2021-04-06 20:30:32 +02:00
Daninet commented 2021-04-06 20:01:32 +02:00 (Migrated from github.com)

New PR as requested at https://github.com/codemirror/commands/pull/1#issuecomment-813989077

I had to modify wordAt() to make it reusable, I hope it's not a problem.

New PR as requested at https://github.com/codemirror/commands/pull/1#issuecomment-813989077 I had to modify `wordAt()` to make it reusable, I hope it's not a problem.
marijnh commented 2021-04-06 20:31:38 +02:00 (Migrated from github.com)

Nice, thanks! I've merged this and modified the code a bit in attached patch, putting the implementation in selection-match.ts and making sure the command returns false when it can't act.

Nice, thanks! I've merged this and modified the code a bit in attached patch, putting the implementation in selection-match.ts and making sure the command returns false when it can't act.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/search!1
No description provided.