Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { IBaseCellEditorOptions } from '../notebookBrowser.js';
7
import { NotebookEventDispatcher } from './eventDispatcher.js';
8
import { NotebookOptions } from '../notebookOptions.js';
9
10
export class ViewContext {
11
constructor(
12
readonly notebookOptions: NotebookOptions,
13
readonly eventDispatcher: NotebookEventDispatcher,
14
readonly getBaseCellEditorOptions: (language: string) => IBaseCellEditorOptions
15
) {
16
}
17
}
18
19