src/vs/workbench/common/editor/textResourceEditorInput.ts/TextResourceEditorInput/matches
class TextResourceEditorInput:	override matches(otherInput: IEditorInput | IUntypedEditorInput): boolean {
		if (super.matches(otherInput)) {
			return true;
		}

		if (otherInput instanceof TextResourceEditorInput) {
			return isEqual(otherInput.resource, this.resource);
		}

		return false;
	}