Hmm for some reason this doesn't work either... strange.
> <cffunction name="isEmpty" ...
>If all you want to do is scope the name of the cffunction, I'd say you
> regex that works when using "find" inside TM:
> <cffunction\sname=(["'])
>
> bundle language text:
> { name = 'support.other';
> contentName = 'entity.name.function';
> begin = '(<cffunction\sname).(["''])';
> end = '["'']';
> },
want to use a match/captures block, and leave the cffunction coloring
consistent with the other cftags.
{ match = 'cffunction name="(\w+)"';
captures = {
1 = { name = 'entity.name.function'; };
};
}
It might be a bit much, but in theory it would work.
HTH,
Daniel
______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate