Long Standing problem, deleting text from notepad

I select all text and delete, then save my project but when I reopen the text is still there.

The only way to remove it is by selecting all and hitting space once and then save.

Either way there is no prompt to Save Project.