• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[SOLVED] Re: Setting the default font of an NSTextView...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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
References: 
 >Setting the default font of an NSTextView... (From: Nick Zitzmann <email@hidden>)
 >Re: Setting the default font of an NSTextView... (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: NSBitmapImageRep subclass problem
  • Next by Date: Unable to link universal binary
  • Previous by thread: Re: Setting the default font of an NSTextView...
  • Next by thread: Re: Setting the default font of an NSTextView...
  • Index(es):
    • Date
    • Thread