constmessage=nls.localize('cannotWorkspaceUndoDueToInProgressUndoRedo',"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",element.label,paths.join(', '));
@@ -469,9 +524,14 @@ export class UndoRedoService implements IUndoRedoService {
editStack.future=[];
return;
}
if(editStack.locked){
constmessage=nls.localize('cannotResourceUndoDueToInProgressUndoRedo',"Could not undo '{0}' because there is already an undo or redo operation running.",element.label);
constmessage=nls.localize('cannotWorkspaceRedoDueToInProgressUndoRedo',"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",element.label,paths.join(', '));
@@ -556,9 +629,14 @@ export class UndoRedoService implements IUndoRedoService {
editStack.future=[];
return;
}
if(editStack.locked){
constmessage=nls.localize('cannotResourceRedoDueToInProgressUndoRedo',"Could not redo '{0}' because there is already an undo or redo operation running.",element.label);