Did you know ... Search Documentation:
PublicShow source
Source prolog:complete_input(+BeforeCursor, +AfterCursor, -Delete, -Completions) is det[multifile]
Compute auto completions for the input line BeforeCursor+AfterCursor.
Delete- is an atom or string representing the text that is replaced by the completion
Completions- is a list of elements of this shape:
Used for a plain completion without comment
Atom - Comment
Used for a completion with comment. This will be used for predicates.