.. index:: pair: class; EE::UI::Doc::TextUndoStack .. _doxid-class_e_e_1_1_u_i_1_1_doc_1_1_text_undo_stack: class EE::UI::Doc::TextUndoStack ================================ .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class TextUndoStack { public: // construction :target:`TextUndoStack`(:ref:`TextDocument`* owner, const :ref:`Uint32`& maxStackSize = 10000); :target:`~TextUndoStack`(); // methods void :target:`clear`(); void :target:`clearUndoStack`(); void :target:`clearRedoStack`(); void :target:`undo`(); void :target:`redo`(); bool :target:`hasUndo`() const; bool :target:`hasRedo`() const; const :ref:`Uint32`& :target:`getMaxStackSize`() const; const :ref:`Time`& :target:`getMergeTimeout`() const; void :target:`setMergeTimeout`(const :ref:`Time`& mergeTimeout); :ref:`Uint64` :target:`getCurrentChangeId`() const; };