When used in an AIR app, some standard keystrokes in OS X are either ignored or produce ‘mystery’ characters rather than behaving as expected. Examples:
- option + left arrow should move the caret one word backward, it prints a mystery character
- ctrl + h should delete one character backward, it prints h
How do I support OS X default keystrokes (listed here: http://www.hcs.harvard.edu/~jrus/Site/System%20Bindings.html)?
I have found some clues in the Webkit source to enable support in
<mx:HTML>views, here: http://www.opensource.apple.com/darwinsource/10.5/WebCore-5523.10.3/editing/Editor.cppAnd a clue with regards to Webkit’s expected syntax here: http://lists.macosforge.org/pipermail/webkit-unassigned/2007-May/038737.html
Note this solution is incomplete, does not work in Flex/Flash components, and depends on Prototype: