src/vs/workbench/common/editor/textEditorModel.ts/BaseTextEditorModel/createSnapshot
class BaseTextEditorModel:	createSnapshot(): ITextSnapshot | null {
		if (!this.textEditorModel) {
			return null;
		}

		return this.textEditorModel.createSnapshot(true /* preserve BOM */);
	}