CodeMirror extension factory options

interface IFactoryOptions {
    editor: Document.IEditor;
    inline: boolean;
    model: CodeEditor.IModel;
    path: string;
    widgetAdapter: WidgetLSPAdapter<
        IDocumentWidget<Widget, DocumentRegistry.IModel>,
    >;
}

Hierarchy (View Summary)

Properties

The code editor.

inline: boolean

Whether the editor will be inline or not.

The model used by the editor.

path: string

A path to a source file.

The widget lsp adapter.