-
Notifications
You must be signed in to change notification settings - Fork 8
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
Swap directions by hitting the shortcut a second time #8
base: master
Are you sure you want to change the base?
Conversation
Only highlights a region if we are extending a selection; otherwise draws only the new insertion point. Also now highlights the starting point, because when the input panel is shown, the current selections are hidden.
Simplifies the logic a little bit, I think.
Hello, Thanks for the commits. I'm currently in Italy on vacation so it might be Hitting the shortcut again to toggle reverse search is very clever. Thanks again,
|
Awesome, thanks! Enjoy your vacation! |
What do you think of the idea of instead of getting rid of the minus sign, hitting the shortcut a multiple times automatically inserts (or removes) the minus sign. For example:
This way we can preserve backwards compatibility. |
I got a rough implementation working (at least in sublime 2). If you don't mind, I'm gonna take a couple of your ideas (and maybe commits) and implement the feature request. |
reverse selection doesn't work in any of the both ways mentioned on ST 3 Build 3059 |
I love this plugin, but I find it searching backwards to be more difficult than I'd like - I have to add a minus, and square brackets, etc. These changes (which include the commit in https://github.com/xavi-/sublime-selectuntil/pull/7) let you switch the search direction back and forth just by hitting the shortcut again.
Also included are some display fixes that work around bugs in Sublime's input panel (commit 7d04bda).