Allan,

thought you might be interested to know: if I set the "Save:" popup to "Nothing" in the bundle editor I no longer see the broken syntax colouring after running my uncrustify command, so it seems to have something to do with saving immediately before. I notice that similar reformatting commands, such as the XML Tidy command also save nothing, and they also work, but they too break if you set "Save:" to "Current Document".

Chris