Skip to content

Commit

Permalink
Fix [[ following "preview" button (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- authored and gkatsev committed Oct 5, 2016
1 parent 2592a3d commit 1a84675
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/content/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@ const Buffer = Module("buffer", {

options.add(["prevpattern", "previouspattern"], // \u00AB is « (<< in a single char)
"Patterns to use when guessing the 'previous' page in a document sequence",
"stringlist", "\\bprev|previous\\b,^<$,^(<<|\u00AB)$,^(<|\u00AB),(<|\u00AB)$");
"stringlist", "\\bprev\\b|\\bprevious\\b,^<$,^(<<|\u00AB)$,^(<|\u00AB),(<|\u00AB)$");

options.add(["pageinfo", "pa"],
"Desired info in the :pageinfo output",
Expand Down
2 changes: 1 addition & 1 deletion common/locale/en-US/options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@
<tags>'prevpattern' 'previouspattern'</tags>
<spec>'prevpattern' 'previouspattern'</spec>
<type>stringlist</type>
<default><![CDATA[\bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
<default><![CDATA[\bprev\b|\bprevious\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
<description>
<p>
Patterns to use when guessing the <o>previous</o> page in a document
Expand Down
2 changes: 1 addition & 1 deletion common/locale/ja/options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@
<tags>'prevpattern' 'previouspattern'</tags>
<spec>'prevpattern' 'previouspattern'</spec>
<type>stringlist</type>
<default><![CDATA[\bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
<default><![CDATA[\bprev\b|\bprevious\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
<description>
<p>
ページに分割されている文書において <o>前</o> のページを推測するために使われるパターンです。
Expand Down

0 comments on commit 1a84675

Please sign in to comment.