public interface Completer
Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates)
Populates candidates with a list of possible completions for the buffer.
|
int complete(String buffer, int cursor, List<CharSequence> candidates)
List
before returning.buffer
- The buffercursor
- The current position of the cursor in the buffercandidates
- The List
of candidates to populateCopyright © 2024. All rights reserved.