Skip to content

completion_matches

builtin · libnexusinterp/corefcn/input-proprietary.cc

: matches = completion_matches (hint)

Generate possible word completions for hint.

Returns a character matrix with one match per row. For a structure field access such as "s." or "s.na", the matches are the field names of s that begin with the partial field after the final ., written as full tokens ("s.name"). Cell brace completion (c{TAB}) is not applicable.

This is the same candidate list the interactive TAB completer uses.