class EE::UI::Doc::TextUndoStack
#include <textundostack.hpp>
class TextUndoStack {
public:
// construction
TextUndoStack(TextDocument* owner, const Uint32& maxStackSize = 10000);
~TextUndoStack();
// methods
void clear();
void clearUndoStack();
void clearRedoStack();
void undo();
void redo();
bool hasUndo() const;
bool hasRedo() const;
const Uint32& getMaxStackSize() const;
const Time& getMergeTimeout() const;
void setMergeTimeout(const Time& mergeTimeout);
Uint64 getCurrentChangeId() const;
std::string toJSON(bool inverted);
void fromJSON(const std::string& json);
};