Interface IPositionModel

Code editor cursor position model.

interface IPositionModel {
    addEditorProvider: (
        provider: (widget: null | Widget) => Promise<null | CodeEditor.IEditor>,
    ) => void;
    update(): void;
}

Properties

Methods

Properties

addEditorProvider: (
    provider: (widget: null | Widget) => Promise<null | CodeEditor.IEditor>,
) => void

Add a editor provider.

A provider will receive the currently active widget and must return the associated editor if it can or null otherwise.

Methods