NSTextView Text Length
NSTextView Text Length
- Subject: NSTextView Text Length
- From: Gordon Apple <email@hidden>
- Date: Tue, 15 Apr 2014 18:57:58 -0500
- Thread-topic: NSTextView Text Length
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 (email@hidden)
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:
This email sent to email@hidden