How to use the @jupyterlab/fileeditor.FileEditorCodeWrapper function in @jupyterlab/fileeditor

To help you get started, we’ve selected a few @jupyterlab/fileeditor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyterlab / jupyterlab / tests / test-fileeditor / src / widget.spec.ts View on Github external
beforeEach(() => {
      const path = UUID.uuid4() + '.py';
      context = new Context({ manager, factory: modelFactory, path });
      widget = new FileEditorCodeWrapper({
        factory: options => factoryService.newDocumentEditor(options),
        mimeTypeService,
        context
      });
    });
github jupyterlab / jupyterlab-data-explorer / tests / test-fileeditor / src / widget.spec.ts View on Github external
beforeEach(() => {
      const path = UUID.uuid4() + '.py';
      context = new Context({ manager, factory: modelFactory, path });
      widget = new FileEditorCodeWrapper({
        factory: options => factoryService.newDocumentEditor(options),
        mimeTypeService,
        context
      });
    });

@jupyterlab/fileeditor

JupyterLab - Editor Widget

BSD-3-Clause
Latest version published 2 months ago

Package Health Score

95 / 100
Full package analysis

Similar packages