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. This must exist
internally because the textView has to communicate with the containing
scrollView.  I even tried to set an observer on scrollView¹s contentSize, to
no avail. I¹m doing a variable cell-height table view (view based). I have
been able to get the cells to resize when resizing the window, but would
like to have a cell dynamically adjust its height when editing. I can make
it resize on endEditing, but that¹s not quite what I want.

_______________________________________________

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