On May 12, 2010, at 1:28 PM, Graham Cox wrote: > I'm not sure how fields perform text layout - perhaps by using the field > editor, or by using a temporary layout manager they create on the fly, or > something else. I'm afraid I can't help much with that, but someone else > might be able to.
Yes, text fields use the field editor, and it's not trivial to get the field editor correctly set up for the current state of the field and then mess with its layout manager. In that case I'd generally recommend just replacing the NSTextField with an NSTextView. -- Uli Kusterer "The Witnesses of TeachText are everywhere..." _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com