Ace API Reference
    Preparing search index...

    This class controls the inline-only autocompletion components and their lifecycle. This is more lightweight than the popup-based autocompletion, as it can only work with exact prefix matches. There is an inline ghost text renderer and an optional command bar tooltip inside.

    Index

    Constructors

    Properties

    $index: number
    activated: boolean
    base: Anchor
    changeTimer: {
        schedule: { (timeout?: number): void; delay(timeout?: number): void; schedule: ...; call(): void; cancel(): void; isPending(): any; };
        call(): void;
        cancel(): void;
        delay(timeout?: number): void;
        isPending(): any;
        (timeout?: number): void;
    }
    commands: { [key: string]: Ace.Command }
    completionProvider: CompletionProvider
    completions: FilteredList
    editor: Editor
    inlineRenderer: AceInline
    inlineTooltip: CommandBarTooltip
    keyboardHandler: HashHandler
    startCommand: {
        bindKey: { mac: string; win: string };
        exec: (editor: any, options: any) => void;
        name: string;
    }

    Methods

    • Factory method to create a command bar tooltip for inline autocomplete.

      Parameters

      • parentEl: HTMLElement

        The parent element where the tooltip HTML elements will be added.

      Returns CommandBarTooltip

      The command bar tooltip for inline autocomplete