src/vs/workbench/services/textfile/common/textFileEditorModel.ts/TextFileEditorModel/doCreateTextModel
class TextFileEditorModel:	private doCreateTextModel(resource: URI, value: ITextBufferFactory): void {
		this.trace('doCreateTextModel()');

		// Create model
		const textModel = this.createTextEditorModel(value, resource, this.preferredLanguageId);

		// Model Listeners
		this.installModelListeners(textModel);

		// Detect language from content
		this.autoDetectLanguage();
	}