messages.push(nls.localize('noParallelUniverses',"The following files have been modified in an incompatible way: {0}.",paths.join(', ')));
if(noParallelUniverses.length>0){
messages.push(nls.localize('noParallelUniverses',"The following files have been modified in an incompatible way: {0}.",noParallelUniverses.join(', ')));
constmessage=nls.localize('cannotWorkspaceUndo',"Could not undo '{0}' across all files. {1}",element.label,element.invalidatedResources.createMessage());
this._notificationService.info(message);
returnthis.undo(resource);
}
// this must be the last past element in all the impacted resources!
letaffectedEditStacks:ResourceEditStack[]=[];
...
...
@@ -313,6 +437,12 @@ export class UndoRedoService implements IUndoRedoService {
constmessage=nls.localize('cannotWorkspaceRedo',"Could not redo '{0}' across all files. {1}",element.label,element.invalidatedResources.createMessage());
this._notificationService.info(message);
returnthis.redo(resource);
}
// this must be the last future element in all the impacted resources!
letaffectedEditStacks:ResourceEditStack[]=[];
...
...
@@ -383,6 +519,12 @@ export class UndoRedoService implements IUndoRedoService {