On Mon, Aug 9, 2010 at 8:03 AM, vincent habchi <[email protected]> wrote: > Kyle, > > sorry for disturbing you once more. > > You suggested I use a custom layout manager for the NSTextField editor. > However, I see no way to set a layout editor for a NSTextField – I tried to > attach a custom field editor, but it fails the same way (that is to say, the > string reverts to its normal state when the field looses first responder > status). How should I proceed?
[Bringing this back on-list.] Oops. We have custom analogues of NSTextFieldCell that allow us to specify an NSTextStorage in -setObjectValue:. I forgot that NSTextFieldCell doesn't let you do this; it always uses its own layout manager. I believe you will need to implement drawing yourself. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
