mpletion.Completer` instance.
    :param history: :class:`~prompt_toolkit.history.History` instance.
    :param tempfile_suffix: Suffix to be appended to the tempfile for the 'open
                           in editor' function.

    Events:

    :param on_text_changed: When the buffer text changes. (Callable on None.)
    :param on_text_insert: When new text is inserted. (Callable on None.)
    :param on_cursor_position_changed: When the cursor moves. (Callable on None.)

    Filters:

    :param is_multiline: :class:`~prompt_toolkit.filters.SimpleFilter` to
        indicate whether we should consider this buffer a multiline input. If
        so, key bindings can decide to insert newlines when pressing [Enter].
        (Instead of accepting the input.)
    :param complete_while_typing: :class:`~prompt_toolkit.filters.SimpleFilter`
        instance. Decide whether or not to do asynchronous autocompleting while
        typing.
    :param enable_history_search: :class:`~prompt_toolkit.filters.SimpleFilter`
        to indicate when up-arrow partial string matching is enabled. It is
        adviced to not enable this at the same time as `complete_while_typing`,
        because when there is an autocompletion found, the up arrows usually
        browse through the completions, rather than through the history.
    :param read_only: :class:`~prompt_toolkit.filters.SimpleFilter`. When True,
        changes will not be allowed.
    NrS