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

@@ -416,7 +416,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape {
resolvedOptions = {
position: typeConverters.ViewColumn.from(options.viewColumn),
preserveFocus: options.preserveFocus,
selection: options.selection && typeConverters.NotebookCellRange.from(options.selection),
selections: options.selections && options.selections.map(typeConverters.NotebookCellRange.from),
pinned: typeof options.preview === 'boolean' ? !options.preview : undefined
};
} else {