lucee.Component
commandbox.system.util.jline.REPLCompletor
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I handle tab completion in the shell
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
shell
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init()
Constructor. |
|
| Method Summary | |
|---|---|
numeric
|
complete([any reader], [any parsedLine], [any candidates])
populate completion candidates and return cursor position. |
private any
|
createCandidates([any candidates], [any javaCandidates])
JLine3 needs an array of Java objects, so convert our array of strings to that. |
any
|
setCurrentExecutor(any executor)
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
| Property Detail |
|---|
access - publicrequired - falsereturntype - anyinject - Shellserializable - true| Method Detail |
|---|
populate completion candidates and return cursor position
readerparsedLinecandidates - tree to populate with completion candidatesJLine3 needs an array of Java objects, so convert our array of strings to that
candidatesjavaCandidatesexecutor