mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
rename viewType to notebookType, https://github.com/microsoft/vscode/issues/122922
This commit is contained in:
@@ -144,7 +144,7 @@ export class ExtHostNotebookDocument {
|
||||
private readonly _textDocumentsAndEditors: ExtHostDocumentsAndEditors,
|
||||
private readonly _textDocuments: ExtHostDocuments,
|
||||
private readonly _emitter: INotebookEventEmitter,
|
||||
private readonly _viewType: string,
|
||||
private readonly _notebookType: string,
|
||||
private _metadata: extHostTypes.NotebookDocumentMetadata,
|
||||
readonly uri: URI,
|
||||
) { }
|
||||
@@ -159,7 +159,8 @@ export class ExtHostNotebookDocument {
|
||||
this._notebook = {
|
||||
get uri() { return that.uri; },
|
||||
get version() { return that._versionId; },
|
||||
get viewType() { return that._viewType; },
|
||||
get viewType() { return that._notebookType; },
|
||||
get notebookType() { return that._notebookType; },
|
||||
get isDirty() { return that._isDirty; },
|
||||
get isUntitled() { return that.uri.scheme === Schemas.untitled; },
|
||||
get isClosed() { return that._disposed; },
|
||||
|
||||
Reference in New Issue
Block a user