On Mar 30, 2012, at 3:14 AM, Vaibhao Mahore wrote: > I am working on newly added feature "Press and Hold for Certain Keys " on mac > lion for my application .The issue I have been facing is that accent pop up > does not come at proper place when user presses and holds down certain keys. > Hence ,even if I type text in the middle of document, application shows > accent pop up at the top left corner of document of application.
Are you using a custom view for text input? Has it adopted the NSTextInputClient protocol and implemented the appropriate methods? In particular, -firstRectForCharacterRange:actualRange: and -baselineDeltaForCharacterAtIndex: are probably important. Regards, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com