Ah. Somehow, I totally missed the fact that NSText has its own delegate
protocol. That did it. Thanks.
On 4/15/14 7:20 PM, "Graham Cox" wrote:
>
> On 16 Apr 2014, at 9:57 am, Gordon Apple wrote:
>
>> > Is there any way to get a notification or set an observer on NSTextView¹s
>> > used text
On 16 Apr 2014, at 9:57 am, Gordon Apple 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
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
scrollVi