Sample action composeHebrew - enter Hebrew characters.
Use this action to enter Hebrew characters into a document using
a non-Hebrew keyboard. For example, enter alef by typing a.
The mapping table used is a quirky, very rough transliteration.
Define this user action via an editor preference page, where available,
or from the editor command line:
set actionClass.composeHebrew com.ibm.lpex.samples.ComposeHebrewAction
Run it from the editor command line:
action composeHebrew
or associate it with a key (here, Alt+F1 in the text and command area):
set keyAction.a-f1.t.c composeHebrew
See the source code
for the character mapping. To see these characters in the document, you may need
a Hebrew-locale or Unicode font installed on your system. The document must be
saved to an encoding which supports Hebrew characters.
Runs the action.
Prompts the user for a sequence to 'transliterate', then enters the (mapped
Hebrew) character(s) into the document. Uses the input default editor
command, and the composeHebrew command defined in here.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.