add readonly method to editors (#8630)

This commit is contained in:
Anthony Dresser
2019-12-10 18:16:16 -08:00
committed by GitHub
parent 775a25d944
commit 659f392196
2 changed files with 8 additions and 0 deletions

View File

@@ -247,6 +247,10 @@ export abstract class NotebookInput extends EditorInput {
return this._title;
}
public isReadonly(): boolean {
return false;
}
public async getProviderInfo(): Promise<IProviderInfo> {
await this._providersLoaded;
return {