Re: Locked FIles in Lion
Re: Locked FIles in Lion
- Subject: Re: Locked FIles in Lion
- From: Kyle Sluder <email@hidden>
- Date: Sat, 24 Sep 2011 19:01:16 -0700
Look up discardable actions in the NSUndoManager reference.
--Kyle Sluder
(Sent from the road)
On Sep 24, 2011, at 6:57 PM, "Gerriet M. Denkmann" <email@hidden> wrote:
> I have a document based app which can change the appearance of it's documents (which changes do *not* alter the disk representation at all),
> and also make real changes of the data.
>
> Both kind of actions are un-doable.
>
> The problem:
> When I open some old document (without any intention to change it) just intending to play around with different appearances of it, then Lion tells me that I have to unlock the file.
>
> How can I tell Lion (or the DocumentController or whatever) that some changes do not affect the disk representation?
>
> Well, I can just unlock the file; but it would be much nicer, if the "Do you want to unlock"-dialog came up only if I attempted some real change of the document.
>
> Kind regards,
>
> Gerriet.
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden