Re: NSTextView, style, and weird Core Data issue
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