FACT++  1.0
void Readline::rl_ncurses_completion_display ( char **  matches,
int  num,
int  max 
)
staticprivate

Redirected from rl_completion_display_matches_hook, calls CompletionDisplayImp

A function to be called when completing a word would normally display the list of possible matches. This function is called in lieu of Readline displaying the list. It takes three arguments: (char **matches, int num_matches, int max_length) where matches is the array of matching strings, num_matches is the number of strings in that array, and max_length is the length of the longest string in that array. Readline provides a convenience function, rl_display_match_list, that takes care of doing the display to Readline's output stream.

Definition at line 281 of file Readline.cc.

References CompletionDisplay(), and This.

Referenced by Readline().

282 {
283  This->CompletionDisplay(matches, num, max);
284 }
static Readline * This
Definition: Readline.h:19
virtual void CompletionDisplay(char **matches, int num, int max)
Default: call rl_completion_display_matches()
Definition: Readline.cc:386

+ Here is the call graph for this function:

+ Here is the caller graph for this function: