Re: how to bring Accent pop up at proper place
Re: how to bring Accent pop up at proper place
- Subject: Re: how to bring Accent pop up at proper place
- From: Ken Thomases <email@hidden>
- Date: Fri, 30 Mar 2012 05:14:26 -0500
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 (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