• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Issues with NSTextView and undoing attributes - Solved (I think)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Issues with NSTextView and undoing attributes - Solved (I think) (From: Scott Lehman <email@hidden>)

  • Prev by Date: [JOB] Developer position open at The Omni Group
  • Next by Date: Re: Parsing a packet Async Socket
  • Previous by thread: Re: Issues with NSTextView and undoing attributes - Solved (I think)
  • Next by thread: NSDateFormatter problem
  • Index(es):
    • Date
    • Thread