[SVN] Re: question about Go To Symbol
Allan Odgaard
allan at macromates.com
Fri Apr 22 17:47:30 UTC 2005
On Apr 22, 2005, at 19:35, Eric Hsu wrote:
> Well, I tried to be a good boy and I've changed the Perl bundle to
> identify subroutines as declaration.function. However, turning on
> Basic Settings (which in theory should mark those as showInSymbolList)
> didn't show them. Is it because I had another setting in my own Eric
> Theme that colors declaration.function? I assumed the settings would
> cascade down...
They do cascade, but the “Basic settings” expect a scope of:
declaration.function function-name
So your rule should probably be:
{ name = "declaration.function"; match = "\\<sub\\s+([^ \\n]*)";
captures = { 1 = { name = "function-name"; }; };
},
More information about the textmate-dev
mailing list