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

Make JS function completion better. Fix some other completion bugs. Dont complete JS after /[\]})"/.

This commit is contained in:
Kris Maglione
2008-11-28 03:15:22 +00:00
parent ff69145da2
commit 0325ac9174
7 changed files with 78 additions and 79 deletions

View File

@@ -366,7 +366,10 @@ function IO() //{{{
liberator.registerObserver("load_completion", function ()
{
completion.setFunctionCompleter([ioManager.getFile, ioManager.expandPath],
[function (obj, arg) completion.runCompleter("file", arg.replace(/[^\/]*$/, ""))]);
[function (context, obj, args) {
context.quote[2] = "";
completion.file(context, true);
}]);
});
var ioManager = {