|
QCodeEdit
2.2
|

Public Member Functions | |
| QSnippetInsertionCommand (QEditor *e) | |
| void | addPlaceHolder (const QEditor::PlaceHolder &ph) |
| virtual void | addCommand (QDocumentCommand *c) |
| Add a command to the group. | |
| virtual void | removeCommand (QDocumentCommand *c) |
| Remove a command from the block. | |
| virtual void | redo () |
| Redo the command. | |
| virtual void | undo () |
| Undo the command. | |
Public Member Functions inherited from QDocumentCommandBlock | |
| QDocumentCommandBlock (QDocument *d) | |
| ctor | |
| virtual | ~QDocumentCommandBlock () |
| dtor | |
| void | setWeakLock (bool l) |
| Set whether the block is weakly locked. | |
| bool | isWeakLocked () const |
Public Member Functions inherited from QDocumentCommand | |
| QDocumentCommand (Command c, QDocument *d, QDocumentCommand *p=0) | |
| ctor | |
| virtual | ~QDocumentCommand () |
| dtor | |
| virtual int | id () const |
| virtual bool | mergeWith (const QUndoCommand *command) |
| Attempts to merge with another command. | |
| bool | isSilent () const |
| void | setSilent (bool y) |
| Set whether the command is silent. | |
| bool | keepAnchor () const |
| void | setKeepAnchor (bool y) |
| Set whether the command preserve selection of the target cursor. | |
| void | setTargetCursor (QDocumentCursorHandle *h) |
| Set the target cursor. | |
| void | setRedoOffset (int off) |
| ? | |
| void | setUndoOffset (int off) |
| ? | |
|
virtual |
Add a command to the group.
Reimplemented from QDocumentCommandBlock.
References QDocumentCommand::setTargetCursor().
|
virtual |
Remove a command from the block.
Reimplemented from QDocumentCommandBlock.
References QDocumentCommand::setTargetCursor().
1.8.1.1