Re: Catching actions of fonts "Typography" panel

2011-08-24 Thread Rimas M.
You are absolutely right, Martin. That was I have thought at the beginning. But it didn't worked. Now I have checked more deeply and looks like I have a bug in my responders chain which prevents me from getting changeAttributes:. Best Regards, Rimas M. On Thu, Aug 25, 2011 at 1:04 AM, Martin Wie

Re: Catching actions of fonts "Typography" panel

2011-08-24 Thread Martin Wierschin
> 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. The actions you mentioned, font typography options set via Appl

Re: Catching actions of fonts "Typography" panel

2011-08-24 Thread Rimas M.
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 wrote:

Re: Catching actions of fonts "Typography" panel

2011-08-24 Thread Mike Abdullah
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." wrote: > Hello folks, > > I am wondering - how it is possible to catc

Catching actions of fonts "Typography" panel

2011-08-24 Thread Rimas M.
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 stylisti