Polyman Documentation - v3.1.0
    Preparing search index...

    Interface EditorState

    The input text and the cursor position (an index into text).

    interface EditorState {
        text: string;
        cursor: number;
    }
    Index
    text: string
    cursor: number