NotebookDocumentShowOptions#selections.

This commit is contained in:
rebornix
2021-04-12 16:05:34 -07:00
parent 9a00c870b9
commit f7e5a67039
4 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ export class MainThreadNotebookEditors implements MainThreadNotebookEditorsShape
async $tryShowNotebookDocument(resource: UriComponents, viewType: string, options: INotebookDocumentShowOptions): Promise<string> {
const editorOptions = new NotebookEditorOptions({
cellSelections: options.selection && [options.selection],
cellSelections: options.selections,
preserveFocus: options.preserveFocus,
pinned: options.pinned,
// selection: options.selection,