Re: Preventing edits in Versions browser

2013-04-19 Thread Mike Abdullah
On 19 Apr 2013, at 16:13, Jerry Krinock wrote: > > On 2013 Apr 17, at 09:23, Steve Mills wrote: > >> But TextEdit doesn't seem to prevent any actual edits from happening, but >> instantly undoes each edit. So you see the change for a split second. That's >> not a very good user experience.

Re: Preventing edits in Versions browser

2013-04-19 Thread Jerry Krinock
On 2013 Apr 17, at 09:23, Steve Mills wrote: > But TextEdit doesn't seem to prevent any actual edits from happening, but > instantly undoes each edit. So you see the change for a split second. That's > not a very good user experience. What does everyone else do? I agree it's weird, but I just

Preventing edits in Versions browser

2013-04-17 Thread Steve Mills
I assume that NSDocument's isInViewingMode is what I should be asking if the document being used is an actual opened doc or one in the Versions browser. Looking at TextEdit, its document class has an isReadOnly instance variable, but I don't see it getting set to YES even when browsing versions.