• 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
Re: NSTextView, style, and weird Core Data issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView, style, and weird Core Data issue


  • Subject: Re: NSTextView, style, and weird Core Data issue
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 26 Jul 2006 16:42:45 -0400

On Jul 26, 2006, at 4:34 PM, I. Savant wrote:

My own line of thinking (if I saw what you're seeing) would be that it's actually rather logical since there's no specific / direct way of setting "default" typing attributes for a text view and there's no strictly defined behavior (that I remember reading of) that dictates how or when the attributes would revert to default.

Well, here's where I slap my hand over my face and blow spit bubbles ... From the documentation on the -setTypingAttributes: method:


"Typing attributes are reset automatically whenever the selection changes. If you add any user actions that change text attributes, you should use this method to apply those attributes to a zero-length selection."

  Hehehe ...

--
I.S.




_______________________________________________ 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: 
 >Re: NSTextView, style, and weird Core Data issue (From: Matt Neuburg <email@hidden>)
 >Re: NSTextView, style, and weird Core Data issue (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Window levels - is this safe?
  • Next by Date: Re: How to make KVO setup persistent?
  • Previous by thread: Re: NSTextView, style, and weird Core Data issue
  • Next by thread: Re: NSTextView, style, and weird Core Data issue
  • Index(es):
    • Date
    • Thread