ah, that would explain it... thanks, that will get me moving in the right direction

On Sun, Mar 9, 2008 at 5:35 AM, Allan Odgaard <throw-away-2@macromates.com> wrote:
On 8 Mar 2008, at 00:27, Steven Ross wrote:

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

Are you aware of the single-line matching limitation of language
grammars?

So if 'cffunction' and 'name' are not on the same lines, you cannot
match it with just a single rule.

What you can do is something like:

    { begin = '<cffunction'; end = '>';
      patterns = (
        { match = 'name=(["''])(.*?)\1';
          captures = {
            2 = { name = 'entity.name.function'; };
          };
        }
      );
    },


______________________________________________________________________
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 ]