On 12/05/2010, at 9:23 PM, Graham Cox wrote: > You can do it by getting down into the NSLayoutManager used by the text view
Note that with a text FIELD this is not as straightforward (not that it was anyway), because the text field doesn't keep a layout manager. 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. --Graham _______________________________________________ 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