Lines Matching refs:top
71 Command* command = fUndoHistory.top();
95 Command* command = fRedoHistory.top();
118 fUndoHistory.top()->GetName(name);
134 fRedoHistory.top()->GetName(name);
148 delete fUndoHistory.top();
152 delete fRedoHistory.top();
167 fSavedCommand = fUndoHistory.top();
182 if (fSavedCommand == fUndoHistory.top())
203 if (Command* top = fUndoHistory.top()) {
204 if (command->UndoesPrevious(top)) {
207 delete top;
209 } else if (top->CombineWithNext(command)) {
215 if (top->InitCheck() < B_OK) {
217 delete top;
219 } else if (command->CombineWithPrevious(top)) {
221 delete top;
244 delete fRedoHistory.top();