Am 26.03.2008 um 11:26 schrieb Gerriet M. Denkmann:
I also can use Edit ► Undo Set (or Paste) Font but now the document gets dirty. Very bad. Also: the complete text gets selected. So what else do I have to implement? I tried setFont: and setFont:range:, but these seem never to be called.
How does the NSUndoManager undo my font changes?

Hmmh - how about completely disabling the built-in undo support for these functions (as was proposed before), and manually add undo actions? That way you'd have control over the undo action yourself and could once again mark the document as unchanged after the undo....

</jum>_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to