controlling nstextview undo's
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.