source: trunk/src/scripttools/debugging/scripts/commands/complete.qs@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 361 bytes
Line 
1name = "complete";
2
3group = "void";
4
5shortDescription = "List the completions for the rest of the line as a command";
6
7longDescription = "";
8
9function 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}
Note: See TracBrowser for help on using the repository browser.