• 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
Re: Attributed string not displaying with effects of attributes in an NSTextView...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attributed string not displaying with effects of attributes in an NSTextView...


  • Subject: Re: Attributed string not displaying with effects of attributes in an NSTextView...
  • From: glenn andreas <email@hidden>
  • Date: Fri, 17 Feb 2006 21:26:17 -0600


On Feb 17, 2006, at 8:13 PM, Shawn Erickson wrote:

On 2/17/06, Shawn Erickson <email@hidden> wrote:
On 2/17/06, Shawn Erickson <email@hidden> wrote:

Anyway when I fill the text storage with the following attributed
string I see the text but the color of the text is not affected
(should be blue). Any ideas on what I am forgetting? (likely a stupid
oversight on my part)

So switching to use NSForegroundColorAttributeName instead of NSStrokeColorAttributeName results in the color change. Folks think this is a bug in documentation, AppKit or just me misreading the docs on what NSStrokeColorAttributeName does?

NSStrokeColorAttributeName is used for stroking the outline of the characters of a font (as opposed to the color used to fill the characters). See NSStrokeWidthAttributeName (which determines the width of that line stroking the outline, which, by default is zero, causing it to appear that NSStrokeColorAttributeName does nothing).



Glenn Andreas email@hidden <http://www.gandreas.com/> wicked fun! Dominogy | Just place all the dominos on the board...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Attributed string not displaying with effects of attributes in an NSTextView...
      • From: Shawn Erickson <email@hidden>
References: 
 >Attributed string not displaying with effects of attributes in an NSTextView... (From: "Shawn Erickson" <email@hidden>)
 >Re: Attributed string not displaying with effects of attributes in an NSTextView... (From: "Shawn Erickson" <email@hidden>)
 >Re: Attributed string not displaying with effects of attributes in an NSTextView... (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: When exactly does a fault get fired?
  • Next by Date: Horrible documentation
  • Previous by thread: Re: Attributed string not displaying with effects of attributes in an NSTextView...
  • Next by thread: Re: Attributed string not displaying with effects of attributes in an NSTextView...
  • Index(es):
    • Date
    • Thread