index.ts 609 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. import {
  4. IEditorServices
  5. } from '@jupyterlab/codeeditor';
  6. import {
  7. CodeMirrorEditorFactory
  8. } from './factory';
  9. import {
  10. CodeMirrorMimeTypeService
  11. } from './mimetype';
  12. import '../style/index.css';
  13. export * from './mode';
  14. export * from './editor';
  15. export * from './factory';
  16. export * from './mimetype';
  17. /**
  18. * The default editor services.
  19. */
  20. export
  21. const editorServices: IEditorServices = {
  22. factoryService: new CodeMirrorEditorFactory(),
  23. mimeTypeService: new CodeMirrorMimeTypeService()
  24. };