Re: Receiving Unicode Input in NSView

2011-08-01 Thread Bill Appleton
Hi Aki and others, So implementing the NSTextInputClient protocol works great in our stand-alone product, we get unicode as expected In the browser product we synthesize NSEvents for key downs and send them through the same system with handleEvent this does NOT work as expected, which i think is

Re: Receiving Unicode Input in NSView

2011-07-29 Thread Aki Inoue
Bill, > we used to call interpretKeyEvents in the keyDown handler and the InsertText > handler would get the unicode string, I guess this stopped working with a > system update a while back. We have always required the first responder to adopt either NSTextInput or NSTextInputClient for handling

Receiving Unicode Input in NSView

2011-07-29 Thread Bill Appleton
Hi all, I have seen this issue come up a lot, but there isn't much information on how to receive unicode input in a NSView. (I know we are supposed to just type in a NSTextField but that is impossible in our situation where the app must run stand-alone and as a browser plugin). we used to call i