1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-10 09:04:12 +01:00

Merge default.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-23 21:00:25 -05:00
2 changed files with 12 additions and 1 deletions

View File

@@ -1418,7 +1418,13 @@ var Buffer = Module("buffer", {
commands.add(["pa[geinfo]"],
"Show various page information",
function (args) { buffer.showPageInfo(true, args[0]); },
function (args) {
let arg = args[0];
let opt = options.get("pageinfo");
dactyl.assert(opt.validator(opt.parse(arg)), "E475: Invalid argument: " + arg);
buffer.showPageInfo(true, arg);
},
{
argCount: "?",
completer: function (context) {

View File

@@ -327,6 +327,7 @@
<item>
<tags>'act' 'activate'</tags>
<strut/>
<spec>'activate' 'act'</spec>
<type>stringlist</type>
<default>addons,bookmarks,diverted,downloads,extoptions,
@@ -852,6 +853,7 @@
<item>
<tags>'ht' 'hinttags'</tags>
<strut/>
<spec>'hinttags' 'ht'</spec>
<type>string</type>
<default>&hinttags;</default>
@@ -1060,6 +1062,7 @@
<item>
<tags>'nextpattern'</tags>
<strut/>
<spec>'nextpattern'</spec>
<type>stringlist</type>
<default>'\bnext',^>$,'^(>>|»)$','^(>|»)','(>|»)$','\bmore\b'</default>
@@ -1163,6 +1166,7 @@
<item>
<tags>'previouspattern'</tags>
<strut/>
<spec>'previouspattern'</spec>
<type>stringlist</type>
<default><![CDATA['\bprev|previous\b',^<$,'^(<<|«)$','^(<|«)','(<|«)$']]></default>
@@ -1462,6 +1466,7 @@
<item>
<tags>'wia' 'wildanchor'</tags>
<strut/>
<spec>'wildanchor' 'wia'</spec>
<type>regexplist</type>
<default>!'/ex/(back|buffer|ext|forward|help|undo)'</default>