[SOLVED] Re: Setting the default font of an NSTextView...
[SOLVED] Re: Setting the default font of an NSTextView...
- Subject: [SOLVED] Re: Setting the default font of an NSTextView...
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 7 Apr 2006 13:08:47 -0600
On Apr 7, 2006, at 8:48 AM, Shawn Erickson wrote:
I am fairly sure that typing attributes is what you want but I believe
you have to reapply them if the selection, etc. changes. Try having a
delegate of that text view respond to
textViewDidChangeTypingAttributes: or possibly
textViewDidChangeSelection: and in one of those reapply the desired
default type attributes. (not tried this myself in any prior project)
-textViewDidChangeSelection: was the correct answer; thanks!
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden