Ace API Reference
    Preparing search index...

    Class CompletionProvider

    This class is responsible for providing completions and inserting them to the editor

    Index

    Constructors

    • Parameters

      • OptionalinitialPosition: { pos: Ace.Point; prefix: string }

      Returns CompletionProvider

    Properties

    active: boolean
    completers: Completer[]
    initialPosition: { pos: Ace.Point; prefix: string }

    Methods

    • This is the entry point to the class, it gathers, then provides the completions asynchronously via callback. The callback function may be called multiple times, the last invokation is marked with a finished flag

      Parameters

      Returns void