Hi Naomi,
>I have my code editor opened and I press Ctrl+S thinking I'm saving my code, but in fact I lost it.
There's a bug in VFP that sometimes inserts a CHR(19) character instead of saving the document when the debugger is open. If you had highlighted all code would be replaced with this single character.
--
Christof