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

More completion stuff.

This commit is contained in:
Kris Maglione
2008-11-22 06:53:44 +00:00
parent 4f1c195aa4
commit fcc799aa6a
12 changed files with 292 additions and 266 deletions

View File

@@ -208,7 +208,7 @@ function IO() //{{{
},
{
argCount: "?",
completer: function (filter) completion.file(filter, true),
completer: function (filter, bang, args, context) completion.file(context, true),
literal: true
});
@@ -268,7 +268,7 @@ function IO() //{{{
{
argCount: "?",
bang: true,
completer: function (filter) completion.file(filter, true)
completer: function (filter, bang, args, context) completion.file(context, true)
});
commands.add(["runt[ime]"],
@@ -301,7 +301,7 @@ function IO() //{{{
{
argCount: "1",
bang: true,
completer: function (filter) completion.file(filter, true)
completer: function (filter, bang, args, context) completion.file(context, true)
});
commands.add(["!", "run"],
@@ -893,8 +893,7 @@ lookup:
catch (e)
{
let message = "Sourcing file: " + (e.echoerr || file.path + ": " + e);
if (Components.utils.reportError)
Components.utils.reportError(e);
liberator.reportError(e);
if (!silent)
liberator.echoerr(message);
}