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