Re: workaround: stubborn text attributes in NSTextView

2009-05-27 Thread Andy Lee
On Wednesday, May 27, 2009, at 06:34PM, "Kyle Sluder" wrote: >On Wed, May 27, 2009 at 2:58 PM, Andy Lee wrote: >> I configured an NSTextView in IB with a custom text color, a bit of dummy >> text with a custom font, and rich text turned off (i.e., it's plain text).   >> The problem was that whe

Re: workaround: stubborn text attributes in NSTextView

2009-05-27 Thread Kyle Sluder
On Wed, May 27, 2009 at 2:58 PM, Andy Lee wrote: > I configured an NSTextView in IB with a custom text color, a bit of dummy > text with a custom font, and rich text turned off (i.e., it's plain text).   > The problem was that when the user deletes all the text, the text view > reverts to black

workaround: stubborn text attributes in NSTextView

2009-05-27 Thread Andy Lee
I had a problem with NSTextView refusing to use the text attributes I assigned to it. Here's my workaround in case anyone else runs into the same problem. I configured an NSTextView in IB with a custom text color, a bit of dummy text with a custom font, and rich text turned off (i.e., it's plai