NSDeleteFunctionKey question
Andrew Thompson
lordpixel+openjdk at mac.com
Tue Jan 17 20:28:20 PST 2012
On a Mac keyboard the 'delete' key acts like 'backspace' on a PC.
The 'del' key over by the keypad (or fn+delete on a laptop) deletes to the *right* of the cursor. I assume this is the 'delete key on a PC keyboard' you mean?
Ideally I think you want right-delete when this key is pressed.
On Jan 17, 2012, at 9:26 AM, Leonid Romanov wrote:
> Hi!
> Apparently, pressing Delete key on a PC keyboard results in [event charactersIgnoringModifiers] having NSDeleteFunctionKey as a character, which seems to be from the unicode range reserved
> for Apple. This is not what AWT expects. Is it OK to simply replace NSDeleteFunctionKey with NSDeleteCharacter before passing it up to AWT, or there is some additional Cocoa-fu required?
>
> Thanks,
> Leonid.
>
More information about the macosx-port-dev
mailing list