[TxMt] "language" problem
Steven Ross
nowhiding at gmail.com
Fri Mar 7 23:27:25 UTC 2008
Hmm for some reason this doesn't work either... strange.
On Fri, Mar 7, 2008 at 12:44 PM, Daniel Stockman <daniel.stockman at 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 at 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 ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080307/359d8047/attachment.html>
More information about the textmate
mailing list