QCodeEdit
2.2
|
A specialized command to erase text. More...
Public Member Functions | |
QDocumentEraseCommand (int bl, int bo, int el, int eo, QDocument *doc, QDocumentCommand *p=0) | |
ctor | |
virtual | ~QDocumentEraseCommand () |
dtor | |
virtual bool | mergeWith (const QUndoCommand *command) |
Attempts to merge with another command. | |
virtual void | redo () |
Redo the command. | |
virtual void | undo () |
Undo the command. |
A specialized command to erase text.
QDocumentEraseCommand::QDocumentEraseCommand | ( | int | bl, |
int | bo, | ||
int | el, | ||
int | eo, | ||
QDocument * | doc, | ||
QDocumentCommand * | p = 0 |
||
) |
ctor
bl | begin line of the target area |
bo | begin text position of the target area |
el | end line of the target area |
eo | end text position of the target area |
doc | host document |
p | parent command |
bool QDocumentEraseCommand::mergeWith | ( | const QUndoCommand * | command | ) | [virtual] |
Attempts to merge with another command.
Command merging is not implemented.
Reimplemented from QDocumentCommand.