The Duplicate command. Duplicates the selected line or text. More...
#include <duplicatecommand.h>
Public Member Functions | |
virtual void | execute (TextEditorController *controller) override |
Executes the duplication command. | |
virtual QString | toString () override |
Returns the textual representation of this command. | |
![]() | |
TextEditorCommand () | |
The default constructor. | |
virtual | ~TextEditorCommand () |
A blank virtual destructor. | |
virtual bool | readonly () |
Tis method should return true if it's executable in readonly mode. | |
The Duplicate command. Duplicates the selected line or text.
|
overridevirtual |
Executes the duplication command.
controller | the active controller |
Implements edbee::TextEditorCommand.
|
overridevirtual |
Returns the textual representation of this command.
Implements edbee::TextEditorCommand.