FROM : Tom Gray
DATE : Mon Oct 07 21:00:11 2002
Stumped again.
I have an NSTextView subclass and I am trying to determine if the
character clicked on is "bold".
I can't find a method that will allow me to "read" the font traits of a
character. I can set the font traits with:
[NSTextStorage applyFontTraits:myTraitMask range:myRange];
However, once set, I can't find a method that will allow me to
determine the traits.
Note, the traits (ie. bold) are different then the font attributes.
I am completely stumped. Any ideas?
Tom Gray
-------------
<email_removed>
or
<email_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Mon Oct 07 21:00:11 2002
Stumped again.
I have an NSTextView subclass and I am trying to determine if the
character clicked on is "bold".
I can't find a method that will allow me to "read" the font traits of a
character. I can set the font traits with:
[NSTextStorage applyFontTraits:myTraitMask range:myRange];
However, once set, I can't find a method that will allow me to
determine the traits.
Note, the traits (ie. bold) are different then the font attributes.
I am completely stumped. Any ideas?
Tom Gray
-------------
<email_removed>
or
<email_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Tom Gray | Oct 7, 21:00 | |
| Tom Gray | Oct 7, 21:00 | |
| Jonathan E. Jackel | Oct 7, 22:55 | |
| Vince DeMarco | Oct 8, 00:18 |






Cocoa mail archive

