Added Select Next/Previous Occurrence commands#330
Added Select Next/Previous Occurrence commands#330austincondiff wants to merge 3 commits intomainfrom
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