Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Undo after Save in TextEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Undo after Save in TextEdit
Authored by: Ross L on Jul 19, '05 10:32:42PM
As a Cocoa developer, I have investigated the source code of TextEdit, and found that the undo is not saved in the file at all. It merely allows (for the lifetime of the window) for undo past the last undo, a new trick of Tiger's Cocoa API. I repeat: the undos are not saved in the file. The backup file option has nothing to do with this either. When Cocoa saves a file, it writes the data to another file (the backup file) and then copies it onto the destination, so that in case of a power outage, nothing should go wrong. You may keep the backup file, but I have found no real use for it.

---
In the beginning, there was open source. And it was good. Then Microsoft came.

[ Reply to This | # ]

10.4: Undo after Save in TextEdit
Authored by: fraser on Apr 14, '06 12:36:52PM

Slightly off topic but somewhat related:

Does this backup file mean that information lost when textedit crashes is recoverable? Where is this backup file saved?

Thanks



[ Reply to This | # ]