src/vs/workbench/browser/parts/editor/textResourceEditor.ts/AbstractTextResourceEditor/saveState
class AbstractTextResourceEditor:	protected override saveState(): void {

		// Save View State (only for untitled)
		if (this.input instanceof UntitledTextEditorInput) {
			this.saveTextResourceEditorViewState(this.input);
		}

		super.saveState();
	}