Delegate methods could be used if there is an editable textview. But what if not? For other things we have "changeFont:, changeColor:, changeAttributes:". Unfortunately, neither of them are called by action I have mentioned.
Regards, Rimas M. On Wed, Aug 24, 2011 at 1:49 PM, Mike Abdullah <cocoa...@mikeabdullah.net>wrote: > 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." <apple.list...@gmail.com> 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 (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/cocoadev%40mikeabdullah.net > > > > This email sent to cocoa...@mikeabdullah.net > _______________________________________________ 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 arch...@mail-archive.com