mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
more fixes for #9794
This commit is contained in:
@@ -143,10 +143,24 @@ export class ResourceEditorInput extends EditorInput {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public setName(name: string): void {
|
||||
if (this.name !== name) {
|
||||
this.name = name;
|
||||
this._onDidChangeLabel.fire();
|
||||
}
|
||||
}
|
||||
|
||||
public getDescription(): string {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public setDescription(description: string): void {
|
||||
if (this.description !== description) {
|
||||
this.description = description;
|
||||
this._onDidChangeLabel.fire();
|
||||
}
|
||||
}
|
||||
|
||||
public resolve(refresh?: boolean): TPromise<EditorModel> {
|
||||
|
||||
// Use Cached Model
|
||||
|
||||
Reference in New Issue
Block a user