Try this in a Cocoa text editor that supports multiple undos. ProjectBuilder and TextEdit are both examples.
Open a read/write file with lots of important text in your editor (make a backup first). Select all the text in the file then press option i. Press delete. Try to undo. Try to revert to saved. Both should do nothing but present you with a blank window. If you close the file without saving, then reopen it, all the text will return.
David says, "Cocoa-Easiest way to share bugs across multiple applications." Of course, I had to clean that up for content.
Update: it appears "Revert to Saved" does work in TextEdit which might be another bug altogether. I mean, why enabled it if the file hasn't changed? Even though there is nothing displayed, the file is not dirty.
Related:
- Betas, Twitter and WTF - Feb 16, 2010
- Quick Status Update - Feb 12, 2010
- It's Winter, Right? - Jan 26, 2010
- Hiya Kids, it's Theming Time! - Oct 06, 2009
- Mighty Mouse with Some Theme Sauce - Jun 02, 2009
Don't make it sound so bad. You only had to correct my horrible spelling!
Posted by: Rincewind on March 6, 2003 6:00 PMLame Rosyna...
Works fine in Text Edit to Revert to Saved. Don't know what your problem is ;-P
Posted by: autoxr on March 6, 2003 7:27 PMEr... I just tried it in TextEdit, and while undo wouldn't work, revert to saved worked perfectly fine.
Posted by: Quobobo on March 6, 2003 8:17 PMWell, Revert didn't work in Project Builder =p. Guess they have different logic for the Revert command =).
Posted by: Rincewind on March 6, 2003 8:32 PMEn este artículo de una serie de artículos de bellas e interesantes de cada lector donde habla acerca de los errores de cacao Lame. Realmente es un artículo maravilloso y gracias al escritor
Posted by: العاب طبخ on July 27, 2011 10:06 PM