LMMS
Loading...
Searching...
No Matches
juce::TextEditorKeyMapper< CallbackClass > Struct Template Reference

#include <juce_TextEditorKeyMapper.h>

Static Public Member Functions

static bool invokeKeyFunction (CallbackClass &target, const KeyPress &key)

Detailed Description

template<class CallbackClass>
struct juce::TextEditorKeyMapper< CallbackClass >

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.

@tags{GUI}

Member Function Documentation

◆ invokeKeyFunction()

template<class CallbackClass>
bool juce::TextEditorKeyMapper< CallbackClass >::invokeKeyFunction ( CallbackClass & target,
const KeyPress & key )
inlinestatic

Checks the keypress and invokes one of a range of navigation functions that the target class must implement, based on the key event.


The documentation for this struct was generated from the following file: