Re: Catching actions of fonts "Typography" panel
Re: Catching actions of fonts "Typography" panel
- Subject: Re: Catching actions of fonts "Typography" panel
- From: "Rimas M." <email@hidden>
- Date: Wed, 24 Aug 2011 17:23:57 +0300
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 <email@hidden>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." <email@hidden> 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@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