1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 04:02:25 +01:00

Add 'hintinputs' to the help index.

This commit is contained in:
Doug Kearns
2009-05-22 18:32:04 +10:00
parent 62853b2498
commit 7513b96a14
5 changed files with 14 additions and 13 deletions

View File

@@ -823,7 +823,7 @@ function Hints() //{{{
"string", '[.,!?:;/"^$%&?()[\\]{}<>#*+|=~ _-]'); "string", '[.,!?:;/"^$%&?()[\\]{}<>#*+|=~ _-]');
options.add(["hintinputs", "hin"], options.add(["hintinputs", "hin"],
"How text inputs are hinted", "How text input fields are hinted",
"stringlist", "label,value", "stringlist", "label,value",
{ {
completer: function (context) [ completer: function (context) [

View File

@@ -95,7 +95,7 @@ ________________________________________________________________________________
|O| + |O| +
||O|| ||O||
________________________________________________________________________________ ________________________________________________________________________________
Show an [c]:open[c] prompt containing the current URL. Useful if you want to Show an [c]:open[c] prompt containing the current URL. Useful if you want to
go somewhere by editing the URL of the current page. go somewhere by editing the URL of the current page.
________________________________________________________________________________ ________________________________________________________________________________

View File

@@ -15,11 +15,11 @@ ________________________________________________________________________________
Start QuickHint mode. In QuickHint mode, every hintable item (according to the Start QuickHint mode. In QuickHint mode, every hintable item (according to the
'hinttags' XPath query) is assigned a unique number. You can either type 'hinttags' XPath query) is assigned a unique number. You can either type
this number or type part of the link text as specified by the 'hintmatching' this number or type part of the link text as specified by the 'hintmatching'
option, and it is followed as soon as it can be uniquely identified. Often it option, and it is followed as soon as it can be uniquely identified. Often it
can be useful to combine these techniques to narrow down results with some can be useful to combine these techniques to narrow down results with some
letters, and then typing a single digit to make the match unique. Pressing letters, and then typing a single digit to make the match unique. Pressing
[m]<Leader>[m] (defaults to [c]:let mapleader = "\"[c]) toggles "escape-mode", [m]<Leader>[m] (defaults to [c]:let mapleader = "\"[c]) toggles "escape-mode",
where numbers are treated as normal text. + [m]<Esc>[m] stops this mode at any where numbers are treated as normal text. + [m]<Esc>[m] stops this mode at any
time. time.
________________________________________________________________________________ ________________________________________________________________________________

View File

@@ -285,6 +285,7 @@ section:Options[option-index]
||'fullscreen'|| Show the current window fullscreen + ||'fullscreen'|| Show the current window fullscreen +
||'guioptions'|| Show or hide certain GUI elements like the menu or toolbar + ||'guioptions'|| Show or hide certain GUI elements like the menu or toolbar +
||'helpfile'|| Name of the main help file + ||'helpfile'|| Name of the main help file +
||'hintinputs'|| How text input fields are hinted +
||'hintmatching'|| How links are matched + ||'hintmatching'|| How links are matched +
||'hinttags'|| XPath string of hintable elements activated by [m]f[m] and [m]F[m] + ||'hinttags'|| XPath string of hintable elements activated by [m]f[m] and [m]F[m] +
||'hinttimeout'|| Timeout before automatically following a non-unique numerical hint + ||'hinttimeout'|| Timeout before automatically following a non-unique numerical hint +

View File

@@ -391,12 +391,12 @@ ____
____ ____
When generating hints for input elements that do not have an explicit caption, When generating hints for input elements that do not have an explicit caption,
this specifies the methods to try and generate a textual hint. It tries the this specifies the methods to try and generate a textual hint. It tries the
options in the order that you give, and uses the first that it finds. options in the order that you give, and uses the first that it finds.
`--------------------`--------------------------------------------------------- `--------------------`---------------------------------------------------------
*value* The hint is the value displayed in a text input, or the selected option for a dropdown. *value* The hint is the value displayed in a text input, or the selected option for a dropdown.
*label* The value of an explicit label for the input, this will not match most manually added labels that are found on sites. *label* The value of an explicit label for the input, this will not match most manually added labels that are found on sites.
*name* The name of the input will be used, although the name is not designed for user consumption, it is frequently very similar to the label. *name* The name of the input will be used, although the name is not designed for user consumption, it is frequently very similar to the label.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
@@ -539,7 +539,7 @@ ____
____ ____
(default: \bnext,^>$,^(>>|»)$,^(>|»),(>|»)$,\bmore\b) (default: \bnext,^>$,^(>>|»)$,^(>|»),(>|»)$,\bmore\b)
Patterns to use when guessing the \'next' page in a document sequence when the Patterns to use when guessing the \'next' page in a document sequence when the
user hits [c]]][c]. Each pattern, in order, is matched against all links in the user hits [c]]][c]. Each pattern, in order, is matched against all links in the
page with the first match being used. The patterns are case insensitive regular page with the first match being used. The patterns are case insensitive regular
expressions and the link elements are those defined by 'hinttags'. expressions and the link elements are those defined by 'hinttags'.
@@ -612,9 +612,9 @@ ____
____ ____
(default: \bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$) (default: \bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$)
Patterns to use when guessing the \'previous' page in a document sequence when Patterns to use when guessing the \'previous' page in a document sequence when
the user hits [c][[[c]. Each pattern, in order, is matched against all links the user hits [c][[[c]. Each pattern, in order, is matched against all links
in the page with the first match being used. The patterns are case insensitive in the page with the first match being used. The patterns are case insensitive
regular expressions and the link elements are those defined by 'hinttags'. regular expressions and the link elements are those defined by 'hinttags'.
____ ____