Re: Editing a NSTextFieldCell with attributed string
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