@openvanilla/mcfoximmweb
    Preparing search index...

    Active composition state.

    Stores the current composing buffer, the caret position inside that buffer, and the candidate list with paging information for the current selection.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • args: {
            candidates: default[];
            composingBuffer: string;
            cursorIndex: number;
            selectedCandidateIndex?: number;
        }

      Returns InputtingState

    Properties

    candidatePageCount?: number

    Total number of candidate pages.

    candidatePageIndex?: number

    Zero-based index of the current candidate page.

    candidates: default[]

    Full candidate list returned for the composing buffer.

    candidatesInCurrentPage?: default[]

    Candidates visible on the current page.

    composingBuffer: string

    Raw text currently being composed.

    cursorIndex: number

    Caret position inside the composing buffer.

    selectedCandidateIndex?: number

    Selected candidate index in the full candidate list.

    selectedCandidateIndexInCurrentPage?: number

    Selected candidate index within the current page.

    candidatesPerPage: 9

    Number of candidates shown on each page.