Re: NSTextView question
Re: NSTextView question
- Subject: Re: NSTextView question
- From: Douglas Davidson <email@hidden>
- Date: Thu, 16 Mar 2006 11:21:58 -0800
On Mar 16, 2006, at 11:16 AM, Rudi Sherry wrote:
I think I need to go into the currentEditor and grab the edit text
directly, ignoring the stringValue of the textView. Does that
sound like a valid way to do it?
You need to bear in mind that the editor may not be in a reasonable
state for this. For example, with Japanese and other complex input
methods, there may be tentative, not yet accepted input. If there is
a formatter, it may not have validated the input. Ending editing
avoids these issues.
Also, I think you may be using "text view" where you mean "text field".
Douglas Davidson
_______________________________________________
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