author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 19 Feb 2010 23:40:16 +0200 | |
branch | RCL_3 |
changeset 4 | 3b1da2848fc7 |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
name = "complete"; |
2 |
||
3 |
group = "void"; |
|
4 |
||
5 |
shortDescription = "List the completions for the rest of the line as a command"; |
|
6 |
||
7 |
longDescription = ""; |
|
8 |
||
9 |
function execute() { |
|
10 |
var prefix = (arguments.length > 0) ? arguments[0] : ""; |
|
11 |
var completions = getCommandCompletions(prefix); |
|
12 |
for (var i = 0; i < completions.length; ++i) |
|
13 |
message(completions[i]); |
|
14 |
} |