My code is now posted in monochrome

UKHeliBob, I don't think it is a problem with the IDE at all, it is due to a feature of the forum that </> pert has only just turned off.

https://forum.arduino.cc/t/automatic-code-highlighting-do-you-want-it-or-not/868319/12