Re: NSTextField highlight

2015-03-03 Thread edward taffel
in case anyone is following: from within a method defined on my subclass of NSTextField i sent: [[self cell] setBackgroundStyle:interface.isDark() ? NSBackgroundStyleDark : NSBackgroundStyleLight]; no apparent affect—text color, background color, or highlight. thanks again, ken, for mentioning

Re: NSTextField highlight

2015-03-02 Thread edward taffel
> On Mar 2, 2015, at 5:34 PM, Ken Thomases wrote: > > On Mar 2, 2015, at 3:51 PM, edward taffel wrote: > >> has anyone had success in changing NSTextField’s default highlight? e.g., >> given bright text on a dark background, the default highlight is not >> serviceable. i had hoped subclassin

Re: NSTextField highlight

2015-03-02 Thread Ken Thomases
On Mar 2, 2015, at 3:51 PM, edward taffel wrote: > has anyone had success in changing NSTextField’s default highlight? e.g., > given bright text on a dark background, the default highlight is not > serviceable. i had hoped subclassing NSTextFieldCell & overriding > -(id)_highlightColorForCell:

NSTextField highlight

2015-03-02 Thread edward taffel
has anyone had success in changing NSTextField’s default highlight? e.g., given bright text on a dark background, the default highlight is not serviceable. i had hoped subclassing NSTextFieldCell & overriding -(id)_highlightColorForCell:(NSCell*)cell would work, as it does in instances of NSTex