NSTextView has plenty of other delegate methods that will tell you why a change 
is about to happen. Use those to decide how to handle after the change has 
occurred.

Sent from my iPad

On 24 Aug 2011, at 11:39 AM, "Rimas M." <[email protected]> wrote:

> Hello folks,
> 
> I am wondering - how it is possible to catch action, when sender is a
> Typography (the one that can be found in Fonts panels action menu at the
> left bottom side - http://db.tt/CC1hX8c )? If I have a text view with
> selection and I choose something in it (for example Alternative stylistic
> set for certain font), I am getting notification that text storage of that
> text view has changed. That is way to abstract for my needs. Fair enough
> would be something like "font has changed". Or simply changeFont: for first
> responder.
> 
> By getting that action I would be able to implement that changes for any of
> my views. Not only textview.
> 
> Any thoughts?
> 
> Best Regards,
> 
> Rimas M.
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/cocoadev%40mikeabdullah.net
> 
> This email sent to [email protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

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