Re: controlTextDidChange does not respond
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