Hmm for some reason this doesn't work either... strange.

On Fri, Mar 7, 2008 at 12:44 PM, Daniel Stockman <daniel.stockman@gmail.com> wrote:
> <cffunction name="isEmpty" ...
>
> regex that works when using "find" inside TM:
> <cffunction\sname=(["'])
>
> bundle language text:
> { name = 'support.other';
> contentName = 'entity.name.function';
> begin = '(<cffunction\sname).(["''])';
> end = '["'']';
> },

If all you want to do is scope the name of the cffunction, I'd say you
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



--
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] 267-482-4364
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]