commitEditing not working with NSTextView
commitEditing not working with NSTextView
- Subject: commitEditing not working with NSTextView
- From: John Spicer <email@hidden>
- Date: Thu, 2 Dec 2004 10:38:18 -0600
I have a few fields on a window. One of them is an NSTextView, the rest
are NSTextField.
I have an NSObjectController with keys for each.
Since I want to capture anything the user types, I call [theController
commitEditing] before I save it to disk.
The NSTextView does not commit it's changes unless you shift-tab out of
that field into another.
I don't understand why. I also can't connect it to my controller object
(ie to a method) that would tell me when the text changes (but I can do
it with all the NSTextField items).
The window does get marked as dirty as soon as I type a character in
the field, so I know someone is getting the message!
Any help appreciated.
_______________________________________________
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