src/vs/workbench/contrib/files/browser/editors/textFileEditor.ts/TextFileEditor/clearInput
class TextFileEditor:	override clearInput(): void {
		super.clearInput();

		// Clear input listener
		this.inputListener.clear();

		// Clear Model
		const textEditor = this.getControl();
		if (textEditor) {
			textEditor.setModel(null);
		}
	}