Lines Matching refs:top
68 Command* command = fUndoHistory.top(); in Undo()
92 Command* command = fRedoHistory.top(); in Redo()
115 fUndoHistory.top()->GetName(name); in GetUndoName()
131 fRedoHistory.top()->GetName(name); in GetRedoName()
145 delete fUndoHistory.top(); in Clear()
149 delete fRedoHistory.top(); in Clear()
164 fSavedCommand = fUndoHistory.top(); in Save()
179 if (fSavedCommand == fUndoHistory.top()) in IsSaved()
200 if (Command* top = fUndoHistory.top()) { in _AddCommand() local
201 if (command->UndoesPrevious(top)) { in _AddCommand()
204 delete top; in _AddCommand()
206 } else if (top->CombineWithNext(command)) { in _AddCommand()
212 if (top->InitCheck() < B_OK) { in _AddCommand()
214 delete top; in _AddCommand()
216 } else if (command->CombineWithPrevious(top)) { in _AddCommand()
218 delete top; in _AddCommand()
241 delete fRedoHistory.top(); in _AddCommand()