NSMutableAttributedString and setting font attributes
NSMutableAttributedString and setting font attributes
- Subject: NSMutableAttributedString and setting font attributes
- From: Reza Farhad <email@hidden>
- Date: Fri, 12 Apr 2002 16:02:40 +0100
Dear all
I have an anomaly with setting up the font attributes of a
NSMutableAttributedString. When I set a range of fonts for the first time
the setting is set at the right start point but the end of range is ignored
and all the remaining text is also set to the font attribute. However if I
do the same for NSForegroundColorAttributeName the specified range of text
is actually coloured. This indicates that the text does not have a font
attribute but has a colour attribute which is the anomaly.
Reza
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.