Hi all!
I’m using show_quick_panel()
from the sublime API (see the docs here).
I’m wondering if it’s possible to initially select one of the items other than the first one?
For instance, Goto Symbol
(Ctrl
/Cmd
+ R
) doesn’t always start by selecting the first item, but selects the item that is nearest to the current location of the cursor. How would similar behaviour be implemented in a custom plugin?
PS: This post seems to have asked the same question without any answer (back in 2012!!).
Thanks!