LineEditor [constructor] | Create a LineEditor object. |
~LineEditor [destructor] | Destructor |
getCompletionAction | Use the current completer to produce a CompletionAction for the given completion request. If the current completer is a list completer, this will return an AK_Insert CompletionAction if each completion has a common prefix, or an AK_ShowCompletions CompletionAction otherwise. |
getPrompt | |
loadHistory | |
readLine | Reads a line. |
saveHistory | |
setCompleter | Set the completer for this LineEditor. A completer is a function object which takes arguments of type StringRef (the string to complete) and size_t (the zero-based cursor position in the StringRef) and returns a CompletionAction. |
setHistorySize | |
setListCompleter | Set the completer for this LineEditor to the given list completer. A list completer is a function object which takes arguments of type StringRef (the string to complete) and size_t (the zero-based cursor position in the StringRef) and returns a std::vector<Completion>. |
setPrompt | |