1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-12 14:15:45 +01:00

More completion stuff

This commit is contained in:
Kris Maglione
2008-11-24 21:40:02 +00:00
parent ccdf6f1011
commit 9398ffed1c
5 changed files with 59 additions and 42 deletions

View File

@@ -347,6 +347,12 @@ function IO() //{{{
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
liberator.registerObserver("load_completion", function ()
{
completion.setFunctionCompleter([ioManager.getFile, ioManager.expandPath],
[function (obj, arg) completion.runCompleter("file", arg)]);
});
var ioManager = {
MODE_RDONLY: 0x01,