BudCode / notepad-plus

Automatically exported from code.google.com/p/notepad-plus
0 stars 0 forks source link

check on program start if file on disk is different from file in memory #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open a file
2.write stuff. Save.
3. Write some more stuff. Don't save
4.reboot blackberry (simulated crash)
5. Start notepad plus

What is the expected output? What do you see instead?
- I would expect to see the version I saved, or a notice that notepad plus 
crashed, or a notice that the file on disk is different than the file in 
memory. Instead, I see the original version (prior to my edits, with no 
indication that my edits exist on disk).

Selecting "new" and then opening the same file again reveals the saved edits.

This is especially dangerous because if you believe your edits are gone and you 
hit save, your edits which were saved on disk will be destroyed by the save.

I almost lost a huge amount of work today, but luckily, I tried re-opening the 
file before hitting save. Phew!

What version of the product are you using? On what operating system?

Q10 sqn100-5, bb10.2.1.537
Notepad plus version 2.3.5.0

Please provide any additional information below.

Original issue reported on code.google.com by gabblera...@gmail.com on 6 Feb 2014 at 7:16