| java.lang.Object jline.CandidateListCompletionHandler
CandidateListCompletionHandler | public class CandidateListCompletionHandler implements CompletionHandler(Code) | |
A
CompletionHandler that deals with multiple distinct completions
by outputting the complete list of possibilities to the console. This
mimics the behavior of the
readline
library.
TODO:
- handle quotes and escaped quotes
- enable automatic escaping of whitespace
author: Marc Prud'hommeaux |
printCandidates | final public static void printCandidates(ConsoleReader reader, Collection candidates, boolean eagerNewlines) throws IOException(Code) | | Print out the candidates. If the size of the candidates
is greated than the
getAutoprintThreshhold ,
they prompt with aq warning.
Parameters: candidates - the list of candidates to print |
setAlwaysIncludeNewline | public void setAlwaysIncludeNewline(boolean eagerNewlines)(Code) | | |
|
|