On 16 Apr 2014, at 9:57 am, Gordon Apple <g...@ed4u.com> wrote:

> Is there any way to get a notification or set an observer on NSTextView¹s
> used text length? After much research, I have not found a way other than to
> pole the layout manager for usedRectForTextContainer. 


The delegate is sent -textDidChange:, use that to ask for the usedRect.

--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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to