[TxMt] Re: uncrustify plays havoc with syntax colouring

Chris Jenkins chrisjenkins at mac.com
Mon Sep 3 11:02:00 UTC 2012


Allan,

No, that doesn't fix it, the text stays white even after switching tabs, or scrolling or even selecting a block of text (including the non-coloured text).

I have just noticed that the colour the text goes to depends on what code the most recent edit took place on, so if it were:

object.aproperty = @"foo"

then the text takes on the colour of "aproperty", which in my case is blue (Twilight theme), this time the code lost its syntax colour up to the line that got reformatted but not beyond, whereas if I do this in a block of @synthesize statements at the top of the file the text goes white from the edit onwards, but not before.

Chris
		

On 3 Sep 2012, at 11:44, textmate-request at lists.macromates.com wrote:

> OK, so it might be a refresh problem (rather than a parse problem).
> 
> Next time it happens, try switch to another tab and back, to see if that fixes the problem (and let me know the result).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120903/1b09a82d/attachment.html>


More information about the textmate mailing list