Code::Blocks
SVN r11506
|
Provides a HookFunctor which redirects the Call() of a cbSmartIndentPlugin so only the interface of cbSmartIndentPlugin has to be implemented for a new language. More...
#include <editor_hooks.h>
Public Member Functions | |
cbSmartIndentEditorHookFunctor (cbSmartIndentPlugin *plugin) | |
ctor. More... | |
~cbSmartIndentEditorHookFunctor () override | |
dtor. More... | |
void | Call (cbEditor *editor, wxScintillaEvent &event) const override |
Needs to be implemented by the plugin to act(smart indent) accordingly. More... | |
Public Member Functions inherited from EditorHooks::HookFunctorBase | |
virtual | ~HookFunctorBase () |
Private Attributes | |
cbSmartIndentPlugin * | m_plugin |
Provides a HookFunctor which redirects the Call() of a cbSmartIndentPlugin so only the interface of cbSmartIndentPlugin has to be implemented for a new language.
Definition at line 103 of file editor_hooks.h.
EditorHooks::cbSmartIndentEditorHookFunctor::cbSmartIndentEditorHookFunctor | ( | cbSmartIndentPlugin * | plugin | ) |
ctor.
Definition at line 153 of file editor_hooks.cpp.
|
inlineoverride |
|
overridevirtual |
Needs to be implemented by the plugin to act(smart indent) accordingly.
editor | The editor that is active and whose content is changed |
event | The wxScintilla event fired to react accordingly (see cbEditor::CreateEditor, namely scintilla_events) |
Implements EditorHooks::HookFunctorBase.
Definition at line 156 of file editor_hooks.cpp.
References m_plugin, and cbSmartIndentPlugin::OnEditorHook().
|
private |
Definition at line 124 of file editor_hooks.h.
Referenced by Call().