KateUndoGroup Class Reference
Class to manage a group of undo items. More...
#include <kateundo.h>
Collaboration diagram for KateUndoGroup:

Public Types | |
enum | UndoType { editInsertText, editRemoveText, editWrapLine, editUnWrapLine, editInsertLine, editRemoveLine, editMarkLineAutoWrapped, editInvalid } |
Public Member Functions | |
KateUndoGroup (KateDocument *doc) | |
~KateUndoGroup () | |
void | undo () |
void | redo () |
void | addItem (KateUndoGroup::UndoType type, uint line, uint col, uint len, const QString &text) |
bool | merge (KateUndoGroup *newGroup) |
Detailed Description
Class to manage a group of undo items.Definition at line 33 of file kateundo.h.
Member Enumeration Documentation
|
Types for undo items. Definition at line 62 of file kateundo.h. |
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor. Definition at line 282 of file kateundo.cpp. |
Member Function Documentation
|
Undo the contained undo items. Definition at line 286 of file kateundo.cpp. |
|
Redo the contained undo items. Definition at line 309 of file kateundo.cpp. |
|
add an item to the group
Referenced by merge(). |
|
merge this group with an other
References addItem(), isOnlyType(), and m_items. |
The documentation for this class was generated from the following files: