[TxMt] Defining functions in bundle
cormullion at mac.com
cormullion at mac.com
Sat Aug 5 07:29:05 UTC 2006
On 2006-08-04, at 16:37, Allan Odgaard wrote:
> On 3/8/2006, at 21:39, cormullion at mac.com wrote:
>
>> Just one quirk I noticed: when I quit TextMate and re-opened it,
>> these functions didn't appear. But I changed the bundle property
>> to this value:
>>
>> showInSymbolList = 0;
>>
>> and now functions work every time, and continue to work over
>> relaunches. The manual clearly states that this should = 1, yet
>> only 0 works for me. I've managed to reverse the polarity somehow.
>> I'm sure there's an explanation, if not a simple one... :-)
>>
>
> Most likely you did not specify the proper scope selector.
>
> E.g. if you gave no scope selector, ‘ = 1’ would make the entire
> document go into the symbol pop-up (but TM would not do that, thus
> showing nothing) -- setting it to ‘ = 0’ would then exclude the
> entire document, except there are more targeted preferences for
> function names already, so these would still appear.
>
> I.e. just remove the preference entirely, and I believe it should
> work as it currently does.
>
Thanks - I did it! I tried using meta.function.newlisp as the scope
selector and it now works. Before I'd been using source.newlisp.
I appreciate your help! You must find it frustrating that some of us
are mad enough to not use the languages and bundles provided yet not
smart enough to work out how to make new language bundles for
ourselves... :-)
--
(<http://newlisper.blogspot.com/>)
More information about the textmate
mailing list