Rename model.getAssociatedResource() to model.uri

This commit is contained in:
Alex Dima
2016-05-20 12:17:52 +02:00
parent 2d21f9ce91
commit e9b3e0ae92
61 changed files with 180 additions and 180 deletions

View File

@@ -525,7 +525,7 @@ export class MainThreadEditors {
}));
this._proxy._acceptTextEditorAdd({
id: id,
document: textEditor.getModel().getAssociatedResource(),
document: textEditor.getModel().uri,
options: textEditor.getConfiguration(),
selections: textEditor.getSelections(),
editorPosition: this._findEditorPosition(textEditor)
@@ -669,7 +669,7 @@ export class MainThreadEditors {
if (mainThreadEditor) {
let model = mainThreadEditor.getModel();
return this._workbenchEditorService.openEditor({
resource: model.getAssociatedResource(),
resource: model.uri,
options: { preserveFocus: false }
}, position).then(() => { return; });
}