• 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
controlling nstextview undo's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

controlling nstextview undo's


  • Subject: controlling nstextview undo's
  • From: Matthew Weinstein <email@hidden>
  • Date: Wed, 6 Aug 2003 14:00:02 -0400

In my app, based on user choices I grab the textStorage of an nstextview; modify it (add text, attributes, etc.) update it (didChangeText) and then modify the selection. When I undo I get a very odd mix of modifications. Some of the text is chopped as well as my additions. Is there a way to set the start and end of the undogroup for an nstextview?

Matthew

ps a thousand thanks in advance
--
Matthew Weinstein
Associate Professor of Science Education
Kent State University

404D White Hall
KSU
Kent, OH 44242

330-672-0653

email@hidden
http://educ.kent.edu/~mweinste
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: controlling nstextview undo's
      • From: Pete Yandell <email@hidden>
  • Prev by Date: Re: NSToolbarItem tag
  • Next by Date: Re: NSSavePanel and setting extensions... (SOLVED)
  • Previous by thread: Re: NSToolbarItem tag
  • Next by thread: Re: controlling nstextview undo's
  • Index(es):
    • Date
    • Thread