1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:48:02 +01:00

Add template.listCompleter to list completion results to the MOW.

This commit is contained in:
Kris Maglione
2008-11-25 07:30:23 +00:00
parent b543359408
commit 3affc98ea5
10 changed files with 105 additions and 136 deletions

View File

@@ -117,7 +117,7 @@ function CommandLine() //{{{
if (events.feedingKeys)
return;
completionContext.reset();
completionContext.fork("ex", 0, completion.ex, completion);
completionContext.fork("ex", 0, completion, "ex");
commandline.setCompletions(completionContext.allItems);
});
@@ -261,7 +261,7 @@ function CommandLine() //{{{
liberator.registerCallback("complete", modes.EX, function (str) {
completionContext.reset();
completionContext.tabPressed = true;
completionContext.fork("ex", 0, completion.ex, completion);
completionContext.fork("ex", 0, completion, "ex");
return completionContext.allItems;
});
liberator.registerCallback("change", modes.EX, function (command) {