• 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: How to set the foreground and background colors of selected text in a field editor (NSTextView)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to set the foreground and background colors of selected text in a field editor (NSTextView)? (From: Michael Crawford <email@hidden>)
 >Re: How to set the foreground and background colors of selected text in a field editor (NSTextView)? (From: Stephane Sudre <email@hidden>)
 >Re: How to set the foreground and background colors of selected text in a field editor (NSTextView)? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Updating NSMenu while it's open
  • Next by Date: Re: Updating NSMenu while it's open
  • Previous by thread: Re: How to set the foreground and background colors of selected text in a field editor (NSTextView)?
  • Next by thread: Cannot autosave a TableView without headers
  • Index(es):
    • Date
    • Thread