Skip navigation.
 
mlRe: NSTextView, style, and weird Core Data issue
FROM : I. Savant
DATE : Wed Jul 26 22:42:45 2006

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.

Related mailsAuthorDate
mlNSTextView, style, and weird Core Data issue Matt Neuburg Jul 26, 21:15
mlRe: NSTextView, style, and weird Core Data issue I. Savant Jul 26, 21:21
mlRe: NSTextView, style, and weird Core Data issue I. Savant Jul 26, 21:24
mlRe: NSTextView, style, and weird Core Data issue Matt Neuburg Jul 26, 22:22
mlRe: NSTextView, style, and weird Core Data issue I. Savant Jul 26, 22:34
mlRe: NSTextView, style, and weird Core Data issue I. Savant Jul 26, 22:42
mlRe: NSTextView, style, and weird Core Data issue Matt Neuburg Jul 27, 02:52
mlRe: NSTextView, style, and weird Core Data issue Martin Wierschin Jul 27, 09:27
mlRe: NSTextView, style, and weird Core Data issue Matt Neuburg Jul 27, 15:41
mlRe: NSTextView, style, and weird Core Data issue Matt Neuburg Jul 28, 01:30
mlRe: NSTextView, style, and weird Core Data issue Martin Jul 28, 02:04