NSTextView undo problem with character after space
NSTextView undo problem with character after space
- Subject: NSTextView undo problem with character after space
- From: Gideon King <email@hidden>
- Date: Sat, 7 Dec 2002 08:29:22 +0800
I have a text view that I place on another view to support editing text
in my application. Typing in text, and deleting text works fine, but
undo of typing has a strange problem. Say I typed something like:
abc def ghi
then progressively undo my typing the following lines show the state
after each undo:
abc def gh
abc def g
abc def g (didn't delete the g)
abc def (no space after the f)
abc de
abc d
abc d (didn't delete the d)
abc (no space after the c)
ab
a
At the point where the character after the space is not removed, the
NSTextStorageDidProcessEditingNotification notification is not sent, so
it appears that it isn't just a UI issue.
Has anyone seen this behavior before? Any clues on how to fix this? I
am just using a standard textview.
Thanks
Gideon
_______________________________________________
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.