src/vs/workbench/services/untitled/common/untitledTextEditorModel.ts/UntitledTextEditorModel/revert
class UntitledTextEditorModel:	async revert(): Promise<void> {
		this.setDirty(false);

		// Emit as event
		this._onDidRevert.fire();

		// A reverted untitled model is invalid because it has
		// no actual source on disk to revert to. As such we
		// dispose the model.
		this.dispose();
	}