Hello. I'm sure the people that set this up have a better understanding of things than I do, but I'm curious…
Why are all the functions listed in the "Completions" preferences and listed in the functions.txt file that's used by the "Completions for Word" command?
Couldn't the Completions preferences be changed to something like this:
{ completionCommand = 'cut -d % -f 1 "$TM_BUNDLE_SUPPORT"/ functions.txt | grep -i "^$TM_CURRENT_WORD"'; }
So the list of functions would only need to be maintained in one place?
FWIW, I tried the above, and `"$TM_BUNDLE_SUPPORT"/functions.txt` doesn't seem to be pointing the file. I got it to work by giving the explicit complete path to the file, but that's obviously not what we want stored in the preferences by default. Could it be that TM_CURRENT_WORD is defined in the Preferences context, but TM_BUNDLE_SUPPORT is not?
--- Rob McBroom http://www.skurfer.com/ I didn't "switch" to Apple... my OS did.