• 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
How do get transparent text background ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do get transparent text background ?


  • Subject: How do get transparent text background ?
  • From: RFM <email@hidden>
  • Date: Fri, 14 Jun 2002 10:03:24 -0400
  • Organization: RFM & Associates

Hello,

Does anyone know how to get text to only draw it's character (glyph)
without a background. I've tried setting the text storage attributes
using [NSColor clearColor] for the NSBackgroundColorAttributeName . I've
also tried calling [NSTextView setDrawsBackground:NO] which seems to
cause the layout manager to throw an exception with the following
message(s)


2002-06-14 10:00:06.118 *** NSRunStorage, _NSBlockNumberForIndex():
index (54) beyond array bounds (54)
2002-06-14 10:00:06.153 -[NSLayoutManager
_fillGlyphHoleAtIndex:desiredNumberOfCharacters:] *** attempted glyph
generation while textStorage is editing. It is not valid to cause the
layoutManager to do glyph generation while the textStorage is editing
(ie the textStorage has been sent a beginEditing message without a
matching endEditing.)
2002-06-14 10:00:06.156 *** NSRunStorage, _NSBlockNumberForIndex():
index (52) beyond array bounds (22)

any help would be greatly appreciated.

Thanks in advance,
Regards,
Bob M.
_______________________________________________
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: [OT] Copying developer folder
  • Next by Date: Re: Object from TableView cell
  • Previous by thread: Re: [OT] Copying developer folder
  • Next by thread: NSConnection via NSSocketPort
  • Index(es):
    • Date
    • Thread