edbee - Qt Editor Library
|
This command is used for commenting / decommenting a line We cannot implement this truely at the moment, we first need support for making scope-based 'environment-variables' so we can creating something like TM_COMMENT_START. More...
#include <commentcommand.h>
Public Member Functions | |
CommentCommand (bool block) | |
constructs the comment comment More... | |
virtual void | execute (TextEditorController *controller) |
Executes the given comment. More... | |
virtual QString | toString () |
converts this command to a string More... | |
Public Member Functions inherited from edbee::TextEditorCommand | |
TextEditorCommand () | |
The default constructor. More... | |
virtual | ~TextEditorCommand () |
A blank virtual destructor. More... | |
This command is used for commenting / decommenting a line We cannot implement this truely at the moment, we first need support for making scope-based 'environment-variables' so we can creating something like TM_COMMENT_START.
edbee::CommentCommand::CommentCommand | ( | bool | block | ) |
constructs the comment comment
block | should we try a block comment |
|
virtual |
Executes the given comment.
controller | the controller this command is executed for |
Implements edbee::TextEditorCommand.
|
virtual |
converts this command to a string
Implements edbee::TextEditorCommand.