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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user