Re: Finding out about all user level changes in NSTextView?
Re: Finding out about all user level changes in NSTextView?
- Subject: Re: Finding out about all user level changes in NSTextView?
- From: Jesse Grosjean <email@hidden>
- Date: Sat, 26 Apr 2003 19:47:06 -0400
Edwin,
I'm responding to this old message. I'm trying to implement undo for
NSTextStorage and would greatly appreciate it if you could send me your
implementation that you mention below previously.
I'm not sure how to implement coalescing of appropriate text events, if
anyone else has hints on how to do this I would love to hear what you
have to say.
Thanks,
Jesse
>
FROM: Edwin Zacharias
>
DATE: 2002-05-31 17:01
>
>
Undo and redo are, in my opinion, badly implemented in NSTextView.
For
>
example, if you use AppleScript to change it, it won't register an
undo
>
event. This is because undo is implement at the view layer rather
than
>
at the model layer where it belongs. I have a fix for this. It adds
an
>
undo manager to NSTextSorage rather than using the one for NSTextView.
>
Email me if you want it.
>
>
- Edwin
_______________________________________________
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.