NSScrollView unexpectedly using bold typeface
NSScrollView unexpectedly using bold typeface
- Subject: NSScrollView unexpectedly using bold typeface
- From: Gerben Wierda <email@hidden>
- Date: Fri, 8 Mar 2002 16:05:36 +0100
I have an NSScrollView where I either display a non-attributed String or
a RTF string from a file.
When the file starts with a bold string, and I do a SetString afterwards
with a new non-attributed string, the display is suddenly in boldface. I
tried selecting all and replacing or deleting, I tried setting RTF
enabled YES/NO, but nothing helps.
Is it necessary that I turn my string into attributedStrings or is there
some simple method I have overlooked to clear the attributes of the view
that obviously survive a selectAll+delete or equivalent?
G
_______________________________________________
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.