• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSScrollView unexpectedly using bold typeface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Still having problems with IBOutlets
  • Next by Date: Re: Renaming and moving files
  • Previous by thread: Re: Still having problems with IBOutlets
  • Next by thread: Help with SHA Hashing
  • Index(es):
    • Date
    • Thread