I just had a problem with the Lazarus IDE.
I was in the early stages of designing a new GUI app.
The first thing I did was rename the default unit1.pas file to main.pas
While working on the main form, I switched away to a web browser to look something up, then I switched back to Lazarus.
When I switched back, I got a warning about the main.pas file having been changed by another app/program!
I didn't understand why I was getting this, and I clicked the "Reload from disk" button without thinking, and lost all the work I had done.
Something is wrong somewhere.
Am I allowed to rename the default unit1.pas file at the very start of a new project? Was this the cause of the problem?