I'm trying to write a tab completion script (in BTM) and am having problems. I was trying in v28 which didn't work, so I have just upgraded to v31 to see if that fixed the problem, but nothing has changed.
If my script just returns a single filename, that works. If it returns a couple of filenames, then I get a popup window to select from, but my 'real' script returns 83 filenames, and, in that case, the popup window just displays the first entry and hangs, so I have to kill the instance of TCC
I've also tried having it cycle through filenames (so it just needs to return a single filename) like the default tab functionality does, but the tab completion script doesn't get called again after it's completed the filename the first time (unless I edit the completed result first)
Is the 'hanging' a known problem? If so, is there any workaround?
Is it meant to call the tab completion script over and over if you just keep pressing tab? If so, what could I be doing wrong?
If my script just returns a single filename, that works. If it returns a couple of filenames, then I get a popup window to select from, but my 'real' script returns 83 filenames, and, in that case, the popup window just displays the first entry and hangs, so I have to kill the instance of TCC
I've also tried having it cycle through filenames (so it just needs to return a single filename) like the default tab functionality does, but the tab completion script doesn't get called again after it's completed the filename the first time (unless I edit the completed result first)
Is the 'hanging' a known problem? If so, is there any workaround?
Is it meant to call the tab completion script over and over if you just keep pressing tab? If so, what could I be doing wrong?