Projucer - GUI component not saving changes?

Hi, I was having an issue when programming in the Projucer where I am adding code to GUI component .cpp and .h files but the code I am adding is disappearing for some reason, even when I try to save the files or project. Does this sound familiar to anyone or might there be an obvious reason for why this is happening?

Did you read what it says at the top of the generated files?


  This is an automatically generated GUI class created by the Projucer!

  Be careful when adding custom code to these files, as only the code within
  the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  and re-saved.


Ah I actually didn’t catch that. Explains my problem. Thanks Jules.