src/scripttools/debugging/scripts/commands/complete.qs
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 28 Apr 2010 13:15:16 +0300
branchRCL_3
changeset 15 b25b6dc3ff8b
parent 0 1918ee327afb
permissions -rw-r--r--
2010-17 8b4fb6db9a24f58dafbd4734d9c4a87a72f9ad8f

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]);
}