createModelReference(...)

This commit is contained in:
Joao Moreno
2016-11-21 16:00:06 +01:00
parent 0b6675494e
commit 3eddc66357
13 changed files with 15 additions and 15 deletions

View File

@@ -73,7 +73,7 @@ export class ResourceEditorInput extends EditorInput {
resolve(refresh?: boolean): TPromise<ITextEditorModel> {
if (!this.promise) {
this.promise = this.textModelResolverService.getModelReference(this.resource);
this.promise = this.textModelResolverService.createModelReference(this.resource);
}
return this.promise.then(ref => {