Re: NSTextView
Re: NSTextView
- Subject: Re: NSTextView
- From: Kyle Sluder <email@hidden>
- Date: Wed, 22 Sep 2010 11:04:09 -0700
On Wed, Sep 22, 2010 at 10:43 AM, albert jordan <email@hidden> wrote:
> Hi Martin,
>
> THanks so much for the suggestion.
>
> The approach improves the situation, but unfortunately does not resolve it. But understand now that this is the issue, I'm going to see if there will be another work around.
If you want to edit a text view's text storage, you must call
-shouldChangeTextInRange:replacementString: on the text view before
mutating the text storage, and then call -didChangeText afterwards.
--Kyle Sluder
_______________________________________________
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