Re: Allow font changes in edited text field

Andy Lee <[email protected]> Fri, 17 Sep 2010 08:52:34 -0400
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Just a guess offhand -- use a custom field editor with richText==NO and allowsFontPanel==YES?  Perhaps there is a simpler way.

--Andy

On Sep 17, 2010, at 8:25 AM, Christiaan Hofman wrote:

> How can I make a text field that allows changing the overall font during edits? I do not want to support rich text, only the overall font should be able to change, basically what you get in NSTextView when richText==NO and allowsFontPanel==YES. Therefore setting allowsEditingTextAttributes to YES does not do what I want, because that sets richText to YES on the field editor.
> 
> Thanks,
> Christiaan
> 
> _______________________________________________
> MacOSX-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/macosx-dev