mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
createModelReference(...)
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user