JUCE  v5.1.1-3-g1a0b28c73
JUCE API
TextEditorKeyMapper< CallbackClass > Struct Template Reference

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...
 

Detailed Description

template<class CallbackClass>
struct 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.

Member Function Documentation

◆ invokeKeyFunction()

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

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