[TxMt] Java highlighting breaks when a declaration spreads multiple lines

Chris Corbyn chris at w3style.co.uk
Fri Sep 14 13:17:20 UTC 2007


Hi,

I'm using the latest version of TM with all the updates applied on Tiger 
10.4 with all the latest updates.


This is a really minor thing but it would be nice to have fixed.  I 
suspect it's just a regex tweak that's needed.

If I write a method declaration in an interface:

public interface MyInterface {

 public void somethingSpecial(Object foo,
     Object bar) throws SomeException,
     AnotherException;

 public String getName();

}

Then it breaks the highlighting.

If I put it all on the one line then it works fine.

Cheers,

Chris



More information about the textmate mailing list