mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:37:58 +01:00
There's no such thing as QuickHint mode.
--HG-- extra : rebase_source : dbc3473171f085def22be3043c14f133b045b913
This commit is contained in:
@@ -1168,7 +1168,7 @@ var Hints = Module("hints", {
|
|||||||
initModes.require("commandline");
|
initModes.require("commandline");
|
||||||
modes.addMode("HINTS", {
|
modes.addMode("HINTS", {
|
||||||
extended: true,
|
extended: true,
|
||||||
description: "Active when selecting elements in QuickHint or ExtendedHint mode",
|
description: "Active when selecting elements with hints",
|
||||||
bases: [modes.COMMAND_LINE],
|
bases: [modes.COMMAND_LINE],
|
||||||
input: true,
|
input: true,
|
||||||
ownsBuffer: true
|
ownsBuffer: true
|
||||||
@@ -1177,11 +1177,11 @@ var Hints = Module("hints", {
|
|||||||
mappings: function () {
|
mappings: function () {
|
||||||
var myModes = config.browserModes.concat(modes.OUTPUT_MULTILINE);
|
var myModes = config.browserModes.concat(modes.OUTPUT_MULTILINE);
|
||||||
mappings.add(myModes, ["f"],
|
mappings.add(myModes, ["f"],
|
||||||
"Start QuickHint mode",
|
"Start hint mode",
|
||||||
function () { hints.show("o"); });
|
function () { hints.show("o"); });
|
||||||
|
|
||||||
mappings.add(myModes, ["F"],
|
mappings.add(myModes, ["F"],
|
||||||
"Start QuickHint mode, but open link in a new tab",
|
"Start hint mode, but open link in a new tab",
|
||||||
function () { hints.show(options.get("activate").has("links") ? "t" : "b"); });
|
function () { hints.show(options.get("activate").has("links") ? "t" : "b"); });
|
||||||
|
|
||||||
mappings.add(myModes, [";"],
|
mappings.add(myModes, [";"],
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
xmlns="&xmlns.dactyl;"
|
xmlns="&xmlns.dactyl;"
|
||||||
xmlns:html="&xmlns.html;">
|
xmlns:html="&xmlns.html;">
|
||||||
|
|
||||||
<h1 tag="quick-hints hints">Hints</h1>
|
<h1 tag="hints">Hints</h1>
|
||||||
<toc start="2"/>
|
<toc start="2"/>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -25,20 +25,20 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<tags>quick-hints</tags>
|
<tags>quick-hints hint-mode</tags>
|
||||||
<tags>f QuickHint</tags>
|
<tags>f</tags>
|
||||||
<strut/>
|
<strut/>
|
||||||
<spec>f<a>hint</a></spec>
|
<spec>f<a>hint</a></spec>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Start <t>QuickHint</t> mode. In this mode, every clickable
|
Start <t>hint-mode</t>. In this mode, every clickable
|
||||||
element (as defined by the <o>hinttags</o> option) is
|
element (as defined by the <o>hinttags</o> option) is
|
||||||
highlighted and numbered. Elements can be selected
|
highlighted and numbered. Elements can be selected
|
||||||
either by typing their number, or by typing part of
|
either by typing their number, or by typing part of
|
||||||
their text to narrow down the result. When an element
|
their text to narrow down the result. When an element
|
||||||
has been selected, it is automatically clicked and hint
|
has been selected, it is automatically clicked and hint
|
||||||
mode ends. Additionally, the following keys have
|
mode ends. Additionally, the following keys have
|
||||||
special meanings in QuickHint mode:
|
special meanings in hint mode:
|
||||||
</p>
|
</p>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><k name="CR"/></dt>
|
<dt><k name="CR"/></dt>
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
<spec>F<a>hint</a></spec>
|
<spec>F<a>hint</a></spec>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Start <t>QuickHint</t> mode, but the selected elements
|
Start <t>hint-mode</t>, but the selected elements
|
||||||
are clicked with the <k name="Shift" link="false"/> key pressed,
|
are clicked with the <k name="Shift" link="false"/> key pressed,
|
||||||
which has the normal effect of opening it in a new tab
|
which has the normal effect of opening it in a new tab
|
||||||
(depending on the value of the
|
(depending on the value of the
|
||||||
@@ -75,13 +75,13 @@
|
|||||||
|
|
||||||
<item>
|
<item>
|
||||||
<tags>extended-hints</tags>
|
<tags>extended-hints</tags>
|
||||||
<tags>; ExtendedHint</tags>
|
<tags>;</tags>
|
||||||
<strut/>
|
<strut/>
|
||||||
<spec>;<a>mode</a><a>hint</a></spec>
|
<spec>;<a>mode</a><a>hint</a></spec>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Start an extended hint mode. <t>ExtendedHint</t> mode is exactly
|
Start an extended hint mode. Extended hints are exactly like
|
||||||
like <t>QuickHint</t> mode, except that each sub-mode highlights a
|
<t>quick-hints</t>, except that each sub-mode highlights a
|
||||||
more specialized set of elements, and performs a unique action on
|
more specialized set of elements, and performs a unique action on
|
||||||
the selected link. Because of the panoply of extended hint modes
|
the selected link. Because of the panoply of extended hint modes
|
||||||
available, after pressing <k>;</k>, pressing <k name="Tab"/> brings
|
available, after pressing <k>;</k>, pressing <k name="Tab"/> brings
|
||||||
|
|||||||
Reference in New Issue
Block a user