edbee - Qt Editor Library
|
A debug command, for simply suppling/dumping some editor state information to the console. More...
#include <debugcommand.h>
Public Types | |
enum | DebugCommandType { DumpScopes, RebuildScopes, DumpUndoStack, DumpCharacterCodes } |
Public Member Functions | |
DebugCommand (DebugCommandType command) | |
virtual void | execute (TextEditorController *controller) |
This method should execute the given command. More... | |
virtual QString | toString () |
should return the description of the command More... | |
Public Member Functions inherited from edbee::TextEditorCommand | |
TextEditorCommand () | |
The default constructor. More... | |
virtual | ~TextEditorCommand () |
A blank virtual destructor. More... | |
Protected Member Functions | |
void | dumpScopes (TextEditorController *controller) |
This method dumps the scopes. More... | |
void | rebuildScopes (TextEditorController *controller) |
rebuilds all scopes More... | |
void | dumpUndoStack (TextEditorController *controller) |
dumps the undostack More... | |
void | dumpCharacterCodes (TextEditorController *controller) |
dumps the character codes (around the FIRST caret) More... | |
A debug command, for simply suppling/dumping some editor state information to the console.
edbee::DebugCommand::DebugCommand | ( | DebugCommandType | command | ) |
|
protected |
dumps the character codes (around the FIRST caret)
|
protected |
This method dumps the scopes.
|
protected |
dumps the undostack
|
virtual |
This method should execute the given command.
Implements edbee::TextEditorCommand.
|
protected |
rebuilds all scopes
lex the complete document
|
virtual |
should return the description of the command
Implements edbee::TextEditorCommand.