I have been trying to write up a simple plugin that will expand the selection till a found text, something like:
- Code: Select all
def func1(arg1, arg2):
def func_name2(arg1, arg2):
and say you have multiple cursors right after "def" and you want to expand selection till the arg2, so you could run this search and it will expand the selection.
The problem is that I can't seem to get it to work with the standard incremental search dialog, only with the show_input_panel, which means no extra options (toggle regular expressions, backwards search).
Am I missing something or is this not currently supported?