registerColorProvider
原文链接
https://microsoft.github.io/monaco-editor/docs.html#functions/languages.registerColorProvider.html
语法:
registerColorProvider(languageSelector, provider): IDisposable
参数:
languageSelector
: LanguageSelectorprovider
: DocumentColorProvider
返回值:IDisposable
描述:用于注册颜色提供程序。