Lines Matching refs:m_UndoItemStack
263 m_UndoItemStack[m_nCurUndoPos - 1]->Undo(); in Undo()
271 return m_nCurUndoPos < m_UndoItemStack.size(); in CanRedo()
276 if (m_nCurUndoPos < m_UndoItemStack.size()) { in Redo()
277 m_UndoItemStack[m_nCurUndoPos]->Redo(); in Redo()
288 if (m_nCurUndoPos < m_UndoItemStack.size()) in AddItem()
291 if (m_UndoItemStack.size() >= m_nBufSize) { in AddItem()
296 m_UndoItemStack.push_back(std::move(pItem)); in AddItem()
297 m_nCurUndoPos = m_UndoItemStack.size(); in AddItem()
306 ASSERT(m_UndoItemStack.size() > 1); in RemoveHeads()
307 m_UndoItemStack.pop_front(); in RemoveHeads()
311 while (m_UndoItemStack.size() > m_nCurUndoPos) in RemoveTails()
312 m_UndoItemStack.pop_back(); in RemoveTails()
316 m_UndoItemStack.clear(); in Reset()