FACT++
1.0
|
|
protected |
The given vector should be a reference to a vector of strings containing all possible matches. The actual match-making is then done in Complete(const char *, int)
The pointer fCompletion is redirected to the vector for the run time of the function, but restored afterwards. So by this you can set a default completion list in case Complete is not called or Completion not overloaded.
v | reference to a vector of strings with all possible matches |
text | the text which should be matched (it is just propagated to Readline::Completion) |
Definition at line 439 of file Readline.cc.
References CompleteImp(), fCompletion, and save().