• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextView question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTextView question (From: Rudi Sherry <email@hidden>)
 >Re: NSTextView question (From: Ricky Sharp <email@hidden>)
 >Re: NSTextView question (From: Rudi Sherry <email@hidden>)

  • Prev by Date: Re: NSTextView question
  • Next by Date: saving jpegs
  • Previous by thread: Re: NSTextView question
  • Next by thread: Re: NSTextView question
  • Index(es):
    • Date
    • Thread