Performs a cut command. The cut command removes the selected content and places onto the clipboard. More...
#include <cutcommand.h>
Public Member Functions | |
virtual void | execute (TextEditorController *controller) override |
Performs the cut command. | |
virtual QString | toString () override |
Converts this command to a string. | |
![]() | |
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. | |
Performs a cut command. The cut command removes the selected content and places onto the clipboard.
When pressing cut without selection, the full line is cut
|
overridevirtual |
Performs the cut command.
controller | the controller context |
Implements edbee::TextEditorCommand.
|
overridevirtual |
Converts this command to a string.
Implements edbee::TextEditorCommand.