JUCE
|
This class is used to invoke a range of text-editor navigation methods on an object, based upon a keypress event. More...
Static Public Member Functions | |
static bool | invokeKeyFunction (CallbackClass &target, const KeyPress &key) |
Checks the keypress and invokes one of a range of navigation functions that the target class must implement, based on the key event. More... | |
This class is used to invoke a range of text-editor navigation methods on an object, based upon a keypress event.
It's currently used internally by the TextEditor and CodeEditorComponent.
|
static |
Checks the keypress and invokes one of a range of navigation functions that the target class must implement, based on the key event.
References KeyPress::backspaceKey, ModifierKeys::commandModifier, ModifierKeys::ctrlModifier, KeyPress::deleteKey, KeyPress::downKey, KeyPress::endKey, KeyPress::getModifiers(), KeyPress::homeKey, KeyPress::insertKey, KeyPress::isKeyCode(), ModifierKeys::isShiftDown(), KeyPress::leftKey, KeyPress::pageDownKey, KeyPress::pageUpKey, KeyPress::rightKey, ModifierKeys::shiftModifier, and KeyPress::upKey.