public interface TabCompleter
CompletionFinderTabCompleter
rather than implementing this interface directly.
If you need to supply tab completions for a filename, see FileNameTabCompleter
.Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates)
Perform tab completion.
|
int complete(String buffer, int cursor, List<CharSequence> candidates)
buffer
- the current contents of the command linecursor
- the position of the editor cursor within the command linecandidates
- out variable containing the possible completionsCopyright © 2017. All rights reserved.