Re: Bug with -changeAttributes: in NSFontManager/Font Panel?

2008-09-16 Thread Graham Cox
On 17 Sep 2008, at 1:43 pm, Kyle Sluder wrote: On Tue, Sep 16, 2008 at 7:50 PM, Graham Cox <[EMAIL PROTECTED]> wrote: I'm not using a text view directly, but I do have attributed text that could take advantage of the Font Panel's UI if this worked. Since I'm trying to receive this in a dia

Re: Bug with -changeAttributes: in NSFontManager/Font Panel?

2008-09-16 Thread Kyle Sluder
On Tue, Sep 16, 2008 at 7:50 PM, Graham Cox <[EMAIL PROTECTED]> wrote: > I'm not using a text view directly, but I do have attributed text that could > take advantage of the Font Panel's UI if this worked. Since I'm trying to > receive this in a dialog that has text fields, I wonder if the message

Re: Bug with -changeAttributes: in NSFontManager/Font Panel?

2008-09-16 Thread Graham Cox
On 17 Sep 2008, at 4:46 am, Preston Jackson wrote: [[NSFontManager sharedFontManager] setTarget:self] only sets the target to the changeFont: method. Alternatively, you can put changeFont: in the responder chain it will get called without having to explicitly set the target of the shared N

Re: Bug with -changeAttributes: in NSFontManager/Font Panel?

2008-09-16 Thread Preston Jackson
Graham, [[NSFontManager sharedFontManager] setTarget:self] only sets the target to the changeFont: method. Alternatively, you can put changeFont: in the responder chain it will get called without having to explicitly set the target of the shared NSFontManager. The changeAttributes: method

Re: Bug with -changeAttributes: in NSFontManager/Font Panel?

2008-09-15 Thread Graham Cox
Anyone? I notice that this question has been asked numerous times in various forums across the 'net, with not one answer. So clearly it's an issue that several people have run into, but met with stony silence. Apparently the Font Panel UI is quite broken yet very few have ever noticed! We

Bug with -changeAttributes: in NSFontManager/Font Panel?

2008-09-12 Thread Graham Cox
I'm using the Font Panel via NSFont Manager to change text attributes through a modal panel (in fact a sheet). I can change the font OK, as using -setTarget: I can set the target of the font manager to my modal panel. However, I never get the call to - changeAttributes:, so all the stuff suc