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.
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 mails | Author | Date |
|---|---|---|
| Matt Neuburg | Jul 26, 21:15 | |
| I. Savant | Jul 26, 21:21 | |
| I. Savant | Jul 26, 21:24 | |
| Matt Neuburg | Jul 26, 22:22 | |
| I. Savant | Jul 26, 22:34 | |
| I. Savant | Jul 26, 22:42 | |
| Matt Neuburg | Jul 27, 02:52 | |
| Martin Wierschin | Jul 27, 09:27 | |
| Matt Neuburg | Jul 27, 15:41 | |
| Matt Neuburg | Jul 28, 01:30 | |
| Martin | Jul 28, 02:04 |






Cocoa mail archive

