[TxMt] Re: uncrustify plays havoc with syntax colouring

Koen Punt koen at koenpunt.nl
Sun Sep 2 10:34:37 UTC 2012


I'm having the same problem of disappearing highlighting, but than when doing a 'find/replace all' in a PHP file. 

Op 2 sep. 2012 om 00:43 heeft Allan Odgaard <mailinglist at textmate.org> het volgende geschreven:

> On Aug 28, 2012, at 11:24 AM, Chris Jenkins <chrisjenkins at mac.com> wrote:
> 
>> I regularly run the uncrustify command to tidy up my ObjC source, often when I do this the syntax colouring in the current file becomes broken until I make an edit (like a new line return), does anyone know a way to force a refresh of the syntax colouring after a command that replaces the entire document?
> 
> This should not be able to happen.
> 
> Can you send step-by-step about how to reproduce (that is, where to get this command from and how you get it into this unhighlighted state).
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list