-
Notifications
You must be signed in to change notification settings - Fork 95
Added Select Next/Previous Occurrence commands #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Okay a few things here after some review:
In the end, I got this mostly working after spending a while on it but I don't think this is the path we should go. This is mixing concerns with the find panel and this feature and just causing a headache to try and sift through the extra logic this introduces to the find model. It also introduces some odd behaviors like:
I feel like this could be a smaller change, I think it should(?) require:
|
If we do need to keep around some tracked state to make this work, I think it should be in a new class. I did end up getting it to work but it was hacky and made the find model unnecessarily complex |
@thecoolwinter I see your points and they are all valid. I first wanted to see if I could get it to work so I rushed through a lot of this and didn't take the time to clean it up, so thats on me. Let me clean it up and I'll let you know where I end up with this. I'll put this PR in draft status in the mean time. |
Description
Adds Select Next Occurrence (⇧⌥⌘E) and Select Previous Occurrence (⇧⌥⌘E) commands.
Respects Wrap Around and Match Case settings in the Find panel.
Related Issues
Checklist
Screenshots
Screen.Recording.2025-06-02.at.1.30.31.PM.mov