Let's face it is not a huge task.......
And yet Microsoft/Adobe/etc have failsafes.
Adding an automatic backup based on a timer/switching tabs/windows should be worth it regardless.
When I'm doing a ton of programming without compiling, I don't think of saving. And I shouldn't have to plan for the program to fail. The program should plan for it.
Frankly it pisses me off even more than losing the code that people are saying "well you should have planned for that".
Common sense is you build the program to solve problems the user may have, not blame the user for them.
You build the program for the user, not the user for the program.