interface Completer {
    hideInlinePreview?: boolean;
    id?: string;
    identifierRegexps?: RegExp[];
    insertMatch?: ((editor, data) => void);
    onInsert?: ((editor, completion) => void);
    onSeen?: ((editor, completion) => void);
    triggerCharacters?: string[];
    cancel?(): void;
    getCompletions(editor, session, position, prefix, callback): void;
    getDocTooltip?(item): string | void | Completion;
}

Properties

hideInlinePreview?: boolean
id?: string
identifierRegexps?: RegExp[]
insertMatch?: ((editor, data) => void)

Type declaration

    • (editor, data): void
    • Parameters

      • editor: Editor
      • data: Completion

      Returns void

onInsert?: ((editor, completion) => void)

Type declaration

    • (editor, completion): void
    • Parameters

      • editor: Editor
      • completion: Completion

      Returns void

onSeen?: ((editor, completion) => void)

Type declaration

    • (editor, completion): void
    • Parameters

      • editor: Editor
      • completion: Completion

      Returns void

triggerCharacters?: string[]

Methods

  • Parameters

    • item: Completion

    Returns string | void | Completion

Generated using TypeDoc