Don't restore blank documents
I just had a case where I'd made some changes and killed the text editor. When I launched the text editor again, it showed a blank document with the "document restored" info bar.
Obviously this is contradictory - either it restored some content or it didn't. If it didn't restore any changes, it shouldn't claim that it has.