• 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: Editing a NSTextFieldCell with attributed string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing a NSTextFieldCell with attributed string


  • Subject: Re: Editing a NSTextFieldCell with attributed string
  • From: Max Horn <email@hidden>
  • Date: Wed, 5 Dec 2001 09:32:40 +0100

At 10:14 Uhr +0200 05.12.2001, Dan Bernstein wrote:
On Wednesday, December 5, 2001, at 09:58 AM, Max Horn wrote:


Use this:

[myTextField setAllowsEditingTextAttributes:YES];

This is an NSTextField / NSCell method. The field editor is an object of class NSText (or, in my case, NSTextView) which is not a subclass of either.

Sorry, I misread your qustion.

I think you need to ovveride the setUpFieldEditorAttributes: method in your NSCell subclass.


Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:email@hidden>
phone: (+49) 6151-494890


References: 
 >Re: Editing a NSTextFieldCell with attributed string (From: Dan Bernstein <email@hidden>)

  • Prev by Date: Re: Editing a NSTextFieldCell with attributed string
  • Next by Date: RE: ObjC++
  • Previous by thread: Re: Editing a NSTextFieldCell with attributed string
  • Next by thread: Forcing small text to be anti-aliased
  • Index(es):
    • Date
    • Thread