[SVN] [PATCH] support.class.ruby

Allan Odgaard throw-away-1 at macromates.com
Mon May 28 05:52:29 UTC 2007


On 25. May 2007, at 22:07, Grant Hollingworth wrote:

> The attached patch changes the support.class.ruby regex to match  
> variable.other.constant.ruby, since class names are in fact  
> constants.  Specifically, it removes the requirement that the  
> second letter be a lowercase letter.  Prototype[1], for instance,  
> has an IEBrowser class in its jstest.rb file.
>
> This also allows class names to be one character long while they  
> were formerly at least two.  Is that a problem for anything else in  
> the grammar?

I can’t think of a reason not to apply the patch, and no-one  
objected, so I have now applied it :)





More information about the textmate-dev mailing list