* TODO: store this in a proper document cache in the language service
(uri: string)
| 149 | * TODO: store this in a proper document cache in the language service |
| 150 | */ |
| 151 | private _getTextModel(uri: string): monaco.worker.IMirrorModel | null { |
| 152 | const models = this._ctx.getMirrorModels(); |
| 153 | for (const model of models) { |
| 154 | if (model.uri.toString() === uri) { |
| 155 | return model; |
| 156 | } |
| 157 | } |
| 158 | return null; |
| 159 | } |
| 160 | public doUpdateSchema(schema: SchemaConfig) { |
| 161 | return this._languageService.updateSchema(schema); |
| 162 | } |
no outgoing calls
no test coverage detected