This class is used to invoke a range of text-editor navigation methods on an object, based upon a keypress event. More...
#include <juce_TextEditorKeyMapper.h>
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.
{GUI}
|
inlinestatic |
Checks the keypress and invokes one of a range of navigation functions that the target class must implement, based on the key event.
References juce::KeyPress::backspaceKey, juce::ModifierKeys::commandModifier, juce::ModifierKeys::ctrlModifier, juce::KeyPress::deleteKey, juce::KeyPress::downKey, juce::KeyPress::endKey, juce::KeyPress::getModifiers(), juce::KeyPress::homeKey, juce::KeyPress::insertKey, juce::KeyPress::isKeyCode(), juce::ModifierKeys::isShiftDown(), juce::KeyPress::leftKey, juce::KeyPress::pageDownKey, juce::KeyPress::pageUpKey, juce::KeyPress::rightKey, juce::ModifierKeys::shiftModifier, and juce::KeyPress::upKey.