Swap directions by hitting the shortcut a second time#8
Swap directions by hitting the shortcut a second time#8adzenith wants to merge 8 commits intoxavi-:masterfrom
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).