1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 14:45:45 +01:00

Add 'hintinputs' to provide text hints for inputs

If <label> elements are found use them, else use the value in the box
(current behaviour) or if you add 'name' to 'hintinputs' then it will
allow you to select by the name of the field.

For values that are not displayed on the input field, it adds the value
to the red hint icon.
This commit is contained in:
Conrad Irwin
2009-04-04 19:21:45 +01:00
parent cf3799e374
commit 3800f10144
3 changed files with 122 additions and 27 deletions

View File

@@ -1,5 +1,6 @@
2009-XX-XX:
* version 2.1 (probably)
* add 'hintinputs'
* add :silent
* add $MY_VIMPERATORRC
* add ' and " local marks

View File

@@ -316,6 +316,22 @@ want to stay in Normal mode when browsing between web sites. When "on", it
blurs any textbox which often is automatically focused on page load.
If you usually like 'focuscontent' but sometimes you'd like to focus the
first input field, you can use [m]gi[m] to jump to it.
____
|\'fh'| |\'followhints'|
||'followhints' 'fh'|| number (default: 0)
____
Change the behaviour of [m]<Return>[m] in Hints mode. Possible values:
`---------`----------------------------------------------------------
*0* Follow the first hint as soon as typed text uniquely identifies it.
*1* Follow the selected hint on [m]<Return>[m].
*2* Follow the selected hint on [m]<Return>[m] only if it's been [m]<Tab>[m]-selected.
---------------------------------------------------------------------
____
@@ -324,6 +340,7 @@ ____
____
Show the current window fullscreen. Also hide certain GUI elements like the
statusline.
____
@@ -355,6 +372,23 @@ displayed in the status line when viewing the page.
____
|\'hin'| |\'hintinputs'|
||'hintinputs' 'hin'|| stringlist (default: "label,value")
____
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
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.
*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.
-------------------------------------------------------------------------------
____
|\'hm'| |\'hintmatching'|
||'hintmatching' 'hm'|| string (default: contains)
____
@@ -371,22 +405,6 @@ Change the hint matching algorithm during Hints mode. Possible values:
____
|\'fh'| |\'followhints'|
||'followhints' 'fh'|| number (default: 0)
____
Change the behaviour of [m]<Return>[m] in Hints mode. Possible values:
`---------`----------------------------------------------------------
*0* Follow the first hint as soon as typed text uniquely identifies it.
Follow the selected hint on [m]<Return>[m].
*1* Follow the selected hint on [m]<Return>[m].
*2* Follow the selected hint on [m]<Return>[m] only if it's been [m]<Tab>[m]-selected.
---------------------------------------------------------------------
____
|\'ht'| |\'hinttags'|
||'hinttags' 'ht'|| string
____