NSTextInput conformant view not responding to IME input
NSTextInput conformant view not responding to IME input
- Subject: NSTextInput conformant view not responding to IME input
- From: Abhijit Apte <email@hidden>
- Date: Wed, 04 Dec 2013 09:16:39 +0530
Hi,
I've a view which is conforming to NSTextInput protocol which has the
-setMarkedText: and -insertText: methods implemented in the view.
If I switch the keyboard focus from a view in another window and give this
view the keyboard focus, upon -keyDown: with Japanese input method (say),
if I call [[self inputContext] handleEvent:event], the callbacks
-setMarkedText: and -insertText: are not getting called at all.
However, if I switch the app and activate the app back, the IME input works
and I receive the callback.
Can anyone suggest what could be happening here?
The responder chain seems to be the same in both the scenarios.
Regards
-Abhijit
_______________________________________________
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