mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
add Kernel2#createNotebookRendererCommunication
This commit is contained in:
@@ -892,6 +892,10 @@ export interface MainThreadNotebookEditorsShape extends IDisposable {
|
||||
$removeNotebookEditorDecorationType(key: string): void;
|
||||
$trySetDecorations(id: string, range: ICellRange, decorationKey: string): void;
|
||||
$tryApplyEdits(editorId: string, modelVersionId: number, cellEdits: ICellEditOperation[]): Promise<boolean>
|
||||
|
||||
$createNotebookIPC(editorId: string, handle: number, rendererId: string): Promise<boolean>
|
||||
$removeNotebookIpc(editorId: string, handle: number): void;
|
||||
$postMessage(editorId: string, handle: number, forRendererId: string | undefined, message: unknown): Promise<boolean>;
|
||||
}
|
||||
|
||||
export interface MainThreadNotebookDocumentsShape extends IDisposable {
|
||||
@@ -1949,6 +1953,8 @@ export type INotebookEditorViewColumnInfo = Record<string, number>;
|
||||
export interface ExtHostNotebookEditorsShape {
|
||||
$acceptEditorPropertiesChanged(id: string, data: INotebookEditorPropertiesChangeData): void;
|
||||
$acceptEditorViewColumns(data: INotebookEditorViewColumnInfo): void;
|
||||
|
||||
$acceptEditorIpcMessage(handles: number[], message: unknown): void;
|
||||
}
|
||||
|
||||
export interface ExtHostNotebookKernelsShape {
|
||||
|
||||
Reference in New Issue
Block a user