Add selectNextOccurrence command #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.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.