Zimanyar API
    Preparing search index...

    Class Checker

    Checks text paragraph by paragraph. Only a changed paragraph is checked again: an unchanged one takes its findings from the cache, moved to its new position.

    Index
    • get cachedParagraphs(): number

      Returns number

    • Every finding in a text, in order, with offsets into that text.

      Parameters

      Returns Finding[]

    • Words that begin with what is being typed, attested ones first.

      Parameters

      • prefix: string
      • lang: Variety
      • Optionallimit: number

      Returns Completion[]

    • Rule tests and the first moments of a session have no lexicon: rules that need one find nothing.

      Parameters

      • lexicon: Lexicon

      Returns void

    • Spelling suggestions for one word, for a finding whose lookup asks for them.

      Parameters

      • word: string
      • lang: Variety

      Returns string[]