Re: Isolate NSTextView from NSColorWell

2010-06-24 Thread Ross Carter
This thread should help: http://www.cocoabuilder.com/archive/cocoa/149756-understanding-nstextview-setinsertionpointcolor.html On Jun 23, 2010, at 3:05 AM, Bernard Knaepen wrote: > The NSTextView is indeed richtext and this is what I need. Do I need to > subclass the NSColorWell or the NSTextV

Re: Isolate NSTextView from NSColorWell

2010-06-23 Thread Bernard Knaepen
The NSTextView is indeed richtext and this is what I need. Do I need to subclass the NSColorWell or the NSTextView? I need to be able to change the color of the text as well... Thanks, Bernard. On 23 Jun 2010, at 09:02, Scott Anguish wrote: > is the NSTextView set as allowing rich text? if s

Isolate NSTextView from NSColorWell

2010-06-22 Thread Bernard Knaepen
Hi all, I have a window created in IB containing a NSScrollView embedding a NSTextView. In the same window I have a NSColorWell which is supposed to store the color preference for a given object not related to the NSTextView. I would like to be able to change the color of the NSColorWell withou