JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
juce::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.
 

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}

Definition at line 38 of file juce_TextEditorKeyMapper.h.

Member Function Documentation

◆ invokeKeyFunction()

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

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

Definition at line 43 of file juce_TextEditorKeyMapper.h.


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