Re: How to set the foreground and background colors of selected text in a field editor (NSTextView)?
Re: How to set the foreground and background colors of selected text in a field editor (NSTextView)?
- Subject: Re: How to set the foreground and background colors of selected text in a field editor (NSTextView)?
- From: Michael Crawford <email@hidden>
- Date: Tue, 24 Apr 2012 17:34:53 -0400
Thanks for the suggestion, Kyle. I subclassed NSTextViewCell and implemented -setUpFieldEditorAttributes. My apologies to anyone who initially followed this thread and has had to wait till now for a solution/outcome. This became a low-priority issue almost as soon as I posted it and I only got back to it two days ago.
-Michael
On Apr 10, 2012, at 3:09 PM, Kyle Sluder wrote:
> On Apr 10, 2012, at 11:29 AM, Stephane Sudre wrote:
>
>> Allowing rich text, subclassing NSTextField and add some methods from
>> NSTextView did not work so far.
>
> Subclassing NSTextField and implemented -setUpFieldEditor didn't do the trick?
>
> --Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden