Skip to content
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

Add tool to select all occurrences from current selections #14

Open
reykjalin opened this issue Jun 25, 2022 · 1 comment
Open

Add tool to select all occurrences from current selections #14

reykjalin opened this issue Jun 25, 2022 · 1 comment
Labels
feature request New feature

Comments

@reykjalin
Copy link

Is there a way that a tool could be added to allow selecting all occurrences from the current selections? Basically the same as "Select All Occurrences", but from the current selections instead.

So, for example, with the following text:

abc abc abc abc
    ^         ^
    |selection|

Running a select all occurrences from current selections with abc would result in the following selections:

abc abc abc abc
    ^ ^ ' ' * *  <-- selection range pairs

Too illustrate with screenshots:

Initial selection Selections after running tool with abc
image image

When multiple selections are active before running the tool, it would select everything from each selection:

Initial selections Selections after running tool with abc
image image

This would be extremely useful when changing occurrences of something in a very narrow section of the file instead of selecting everything in the file.

@biati-digital
Copy link
Owner

Hi, yes that's possible, i'll mark this as a feature request and see if other users are interested on this feature.

@biati-digital biati-digital added the feature request New feature label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature
Projects
None yet
Development

No branches or pull requests

2 participants