src/vs/editor/common/model/editStack.ts/EditStack/pushStackElement
class EditStack:	public pushStackElement(): void {
		const lastElement = this._undoRedoService.getLastElement(this._model.uri);
		if (isEditStackElement(lastElement)) {
			lastElement.close();
		}
	}