diff -r 000000000000 -r 1918ee327afb src/scripttools/debugging/scripts/commands/complete.qs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/scripttools/debugging/scripts/commands/complete.qs Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,14 @@ +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]); +}