Ephemeral Changes
Ephemeral Changes
- Subject: Ephemeral Changes
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 25 Mar 2008 18:48:49 +0100
I have a document based Cocoa editor, which handles simple text files
(setRichText: NO).
It handles undo and font changes.
But the files are just plain text files; no font information gets
stored.
So I would like that the document does NOT get dirty
(isDocumentEdited) if only the font has been changed.
This would imply that we have two kinds of changes: "real" changes
(like typing, cut and paste of text, etc.) and "ephemeral" changes
(e.g. change of font).
Both are recorded by the NSUndoManager, but only "real" changes make
the document dirty.
How could this be done in 10.4.11 ?
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