make NotebookEditor#selections writeable, https://github.com/microsoft/vscode/issues/125275

This commit is contained in:
Johannes Rieken
2021-06-07 17:07:46 +02:00
parent cec19dcfdc
commit 76fe0c90b0
4 changed files with 22 additions and 1 deletions

View File

@@ -894,6 +894,7 @@ export interface MainThreadNotebookEditorsShape extends IDisposable {
$tryRevealRange(id: string, range: ICellRange, revealType: NotebookEditorRevealType): Promise<void>;
$registerNotebookEditorDecorationType(key: string, options: INotebookDecorationRenderOptions): void;
$removeNotebookEditorDecorationType(key: string): void;
$trySetSelections(id: string, range: ICellRange[]): void;
$trySetDecorations(id: string, range: ICellRange, decorationKey: string): void;
$tryApplyEdits(editorId: string, modelVersionId: number, cellEdits: ICellEditOperation[]): Promise<boolean>
}