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

Add 'linenumbers'.

This commit is contained in:
Kris Maglione
2011-09-27 01:21:29 -04:00
parent 0f9cb3100b
commit c90629c71f
10 changed files with 128 additions and 45 deletions

View File

@@ -134,7 +134,9 @@
<description>
<p>
Go to the end of the document. With <oa>count</oa>,
behaves exactly the same as <oa>gg</oa>.
go to the <oa>count</oa>th line as determined by <o>linenumbers</o>,
or to the <oa>count</oa>th percent of the document if the line number
can't be determined.
</p>
</description>
</item>

View File

@@ -1034,6 +1034,25 @@
</description>
</item>
<item>
<tags>'ln' 'linenumbers'</tags>
<spec>'linenumbers' 'ln'</spec>
<type>&option.linenumbers.type;</type>
<default>&option.linenumbers.default;</default>
<description>
<p>
Patterns used to determine line numbers used by <k>G</k>. May be
either a selector expression as accepted by <o>hinttags</o>, in
which case the first matching element whose text content is equal to
the desired line number is used or the <oa>count</oa>th element
failing that, or the string <str delim="'">func:</str> followed by a
function which, given arguments for the document and desired line
number must return the target element.
</p>
</description>
</item>
<item>
<tags>'lpl' 'loadplugins'</tags>
<spec>'loadplugins' 'lpl'</spec>