Text Editor fails to restore empty unsaved documents when restoring a session
- Open Text Editor and open two files (TODO.txt and SCRATCH.txt in my example)
- Open a third tab but don't enter anything into the third document and don't save the document
- Quit Text Editor
- Re-launch Text Editor
Expected: I expect Text Editor to restore my session as I had it. I had three tabs open: TODO.txt, SCRATCH.txt, and an unsaved document that I was about to start working on but hadn't typed anything into yet. The focused tab was the unsaved document.
Actual: Text Editor restores TODO.txt and SCRATCH.txt but not the unsaved document.
Screencast_from_18-06-22_13_16_01
I think there may be an idea here that empty, unsaved documents don't need to be restored. But this is wrong: the unsaved document was part of the state of the app, part of what I was doing. It should be considered part of the session and restored.