• 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: controlTextDidChange does not respond
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controlTextDidChange does not respond


  • Subject: Re: controlTextDidChange does not respond
  • From: Martin Wierschin <email@hidden>
  • Date: Thu, 12 Jul 2007 16:27:31 -0700

MytextField(NSTextField) has 'controlTextDidChange' and it responds when user enters English or number...

But, id does not respond when enter Korean.(Because Unicode??..)
After input Korean character, when user mouse-clicks textField, controlTextDidChange is reponding.

I don't know anything about Korean text, but for certain input methods (eg: Japanese Katakana) there is a concept called "marked text". Marked text is a kind of temporary text that is still being manipulated by the user. Likely you are not receiving the "controlTextDidChange" until the Korean input manager has decided the user is done with their entry. Please read:


http://developer.apple.com/documentation/Cocoa/Conceptual/ InputManager/Concepts/InputManagerArchitecture.html

You may have to subclass NSTextView (the field editor for the NSTextField) and override the methods for the marked text interface.

~Martin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >controlTextDidChange does not respond (From: 박지완 <email@hidden>)

  • Prev by Date: Sharing a Framework between multiple applications
  • Next by Date: Re: NSTask troubles
  • Previous by thread: controlTextDidChange does not respond
  • Next by thread: Problem using map template in Cocoa
  • Index(es):
    • Date
    • Thread