src/scripttools/debugging/scripts/commands/complete.qs
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:40:16 +0200
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201007

name = "complete";

group = "void";

shortDescription = "List the completions for the rest of the line as a command";

longDescription = "";

function execute() {
    var prefix = (arguments.length > 0) ? arguments[0] : "";
    var completions = getCommandCompletions(prefix);
    for (var i = 0; i < completions.length; ++i)
        message(completions[i]);
}