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

slightly changed next/prev patterns to allow things like "< Older", or "back <"

This commit is contained in:
Martin Stubenschrott
2007-11-26 13:39:08 +00:00
parent 4a8ae26cdd
commit 4f4f96d591
2 changed files with 2 additions and 26 deletions

View File

@@ -606,7 +606,7 @@ vimperator.Options = function () //{{{
shortHelp: "Patterns to use when guessing the 'next' page in a document sequence",
help: "Each pattern, in order, is matched against all links in the page with the first match being used.<br/>" +
"The patterns are case insensitive regular expressions.",
defaultValue: "\\bnext,^>$,^>>$"
defaultValue: "\\bnext,^>$,^>>$,^>,>$"
}
));
optionManager.add(new vimperator.Option(["pageinfo", "pa"], "charlist",
@@ -663,7 +663,7 @@ vimperator.Options = function () //{{{
shortHelp: "Patterns to use when guessing the 'previous' page in a document sequence",
help: "Each pattern, in order, is matched against all links in the page with the first match being used.<br/>" +
"The patterns are case insensitive regular expressions.",
defaultValue: "\\bprev|previous\\b,^<$,^<<$"
defaultValue: "\\bprev|previous\\b,^<$,^<<$,^<,<$"
}
));
optionManager.add(new vimperator.Option(["scroll", "scr"], "number",