Re: Issues with NSTextView and undoing attributes - Solved (I think)
Re: Issues with NSTextView and undoing attributes - Solved (I think)
- Subject: Re: Issues with NSTextView and undoing attributes - Solved (I think)
- From: Douglas Davidson <email@hidden>
- Date: Mon, 6 Mar 2006 10:23:19 -0800
On Mar 6, 2006, at 10:09 AM, Scott Lehman wrote:
When I call NSTextView's
shouldChangeTextInRange:replacementString: with a
non-nil replacement string, are attribute changes made
before the matching didChangeText undone?
It seems to work right, but the docs lead me to
believe if it's non-nil, only character changes are
supported.
If the replacement string is non-nil, then the text in the range is
being replaced entirely, possibly with an entirely new attributed
string. Consider a paste operation, for example.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden