src/vs/editor/standalone/browser/standaloneEditor.ts/onDidCreateModel
export function onDidCreateModel(listener: (model: ITextModel) => void): IDisposable {
	const modelService = StandaloneServices.get(IModelService);
	return modelService.onModelAdded(listener);
}