src/vs/workbench/browser/parts/editor/editorWithViewState.ts/AbstractEditorWithViewState/saveEditorViewState
class AbstractEditorWithViewState:	private saveEditorViewState(resource: URI): void {
		if (!this.group) {
			return;
		}

		const editorViewState = this.computeEditorViewState(resource);
		if (!editorViewState) {
			return;
		}

		this.viewState.saveEditorState(this.group, resource, editorViewState);
	}