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

Add tests for dead help links. Fix some minor bugs. Show error when trying to modify a builtin group rather than failing silently.

This commit is contained in:
Kris Maglione
2011-02-21 16:22:30 -05:00
parent d62c93aef0
commit 234f50bce8
18 changed files with 92 additions and 50 deletions

View File

@@ -181,7 +181,7 @@
<ul>
<li><ex>:abbreviate</ex></li>
<li><ex>:autocmd</ex></li>
<li><ex>:cabbrev</ex></li>
<li><ex>:cabbreviate</ex></li>
<li><ex>:cmap</ex></li>
<li><ex>:cnoremap</ex></li>
<li><ex>:command</ex></li>
@@ -195,7 +195,7 @@
<li><ex>:elseif</ex></li>
<li><ex>:execute</ex></li>
<li><ex>:highlight</ex></li>
<li><ex>:iabbrev</ex></li>
<li><ex>:iabbreviate</ex></li>
<li><ex>:if</ex></li>
<li><ex>:imap</ex></li>
<li><ex>:inoremap</ex></li>
@@ -286,8 +286,8 @@
form and a long form, such as <em>-name</em> and <em>-n</em>. Most options
accept arguments, which come after the option separated by either a space
or an equal sign. For instance, the following three forms,
<ex>-name=<str>foo</str></ex>, <ex>-name <str>foo</str></ex>, and
<ex>-n <str>foo</str></ex>, are all acceptable and entirely equivalent.
<em>-name=<str>foo</str></em>, <em>-name <str>foo</str></em>, and
<em>-n <str>foo</str></em>, are all acceptable and entirely equivalent.
</p>
</document>

View File

@@ -41,7 +41,7 @@
special meanings in QuickHint mode:
</p>
<dl>
<dt><k name="Return"/></dt>
<dt><k name="CR"/></dt>
<dd>Selects the first highlighted element, or that
focused by <k name="Tab"/>.</dd>

View File

@@ -21,7 +21,7 @@
navigation, and tool bars by default. If you find it uncomfortable to work
without them, you can re-enable them by typing
</p>
<set opt="guioptions" op="+="><str delim="">mT</str><k name="Return"/></set>
<set opt="guioptions" op="+="><str delim="">mT</str><k name="CR"/></set>
<p>
If you have trouble remembering commands or keyboard shortcuts, you can
bring up this help page at any time by typing <ex>:help</ex> or

View File

@@ -27,7 +27,7 @@
Key mappings are the most basic means &dactyl.appName; provides
for altering the actions of key presses. Each key mapping is
associated with a mode, such as <link topic="insert-mode">insert</link>,
<link topic="normal-mode">normal</link>, or
<link>normal</link>, or
<link topic="command-line-mode">command-line</link>, and only
has effect when that mode is active. Although each mode has a
full suite of internal mappings, they may be easily augmented,
@@ -277,7 +277,7 @@
expected.
</li>
<li>
<k name="Return"/> or <k name="CR"/> represent the carriage
<k name="Return" link="false"/> or <k name="CR"/> represent the carriage
return key.
</li>
<li><k name="BS"/> represents the backspace key.</li>

View File

@@ -158,11 +158,11 @@
<p style="text-align: left;">
If the option is a list, the given values are toggled. Given,
<se opt="opt"><str delim="">foo</str>,<str delim="">bar</str></se>
<se opt="opt" link="false"><str delim="">foo</str>,<str delim="">bar</str></se>
then,
<se opt="opt" op="!="><str delim="">foo</str>,<str delim="">baz</str></se>
<se opt="opt" op="!=" link="false"><str delim="">foo</str>,<str delim="">baz</str></se>
has the same result as
<se opt="opt"><str delim="">bar</str>,<str delim="">baz</str></se>
<se opt="opt" link="false"><str delim="">bar</str>,<str delim="">baz</str></se>
</p>
<p>
@@ -690,8 +690,8 @@
<dl dt="width: 6em;">
<dt>0</dt> <dd>Follow the first hint as soon as typed text uniquely identifies it.</dd>
<dt>1</dt> <dd>Follow the selected hint on <k name="Return"/>.</dd>
<dt>2</dt> <dd>Follow the selected hint on <k name="Return"/> only if it's been <k name="Tab" mode="c"/>-selected.</dd>
<dt>1</dt> <dd>Follow the selected hint on <k name="CR"/>.</dd>
<dt>2</dt> <dd>Follow the selected hint on <k name="CR"/> only if it's been <k name="Tab" mode="c"/>-selected.</dd>
</dl>
</description>
</item>
@@ -875,7 +875,7 @@
hint. The timeout is measured since the last time a key listed in
<o>hintkeys</o> was pressed. It has no effect when narrowing hints
by typing part of their text. Set to 0 (the default) to only follow
hints after pressing <k name="Return"/> or when the hint is unique.
hints after pressing <k name="CR"/> or when the hint is unique.
</p>
</description>
</item>
@@ -1131,7 +1131,7 @@
shift.
</p>
<example><set opt="passkeys" op="+="><str delim="">mail.google.com</str>:<str delim="">jk&lt;Return></str>,<str delim="">gi</str></set></example>
<example><set opt="passkeys" op="+="><str delim="">mail.google.com</str>:<str delim="">jk&lt;CR></str>,<str delim="">gi</str></set></example>
<p>
More subtle and complex pass through can be achieved

View File

@@ -276,7 +276,7 @@
In addition to its own JavaScript context, each script is executed
with its own default <link topic="groups">group</link> into which
its styles, mappings, commands, and autocommands are placed. This
means that commands such as <ex>:comclear!</ex> can be issued
means that commands such as <ex>:delcommand!</ex> can be issued
without fear of trampling other user-defined mappings. The command
<ex>:group! default</ex> can be issued to clear all such items at
once, and should be placed at the head of most scripts to prevent

View File

@@ -82,7 +82,7 @@
<dt>FrameIndicator</dt> <dd>The indicator shown when a new frame is selected</dd>
<dt>Function</dt> <dd>A JavaScript Function object</dd>
<dt>Hint</dt> <dd>A hint indicator. See <ex>:help hints</ex></dd>
<dt>HintActive</dt> <dd>The hint element of link which will be followed by <k name="Return"/></dd>
<dt>HintActive</dt> <dd>The hint element of link which will be followed by <k name="CR"/></dd>
<dt>HintElem</dt> <dd>The hintable element</dd>
<dt>HintImage</dt> <dd>The indicator which floats above hinted images</dd>
<dt>Indicator</dt> <dd>The <em>#</em> and <em>%</em> in the <ex>:buffers</ex> list</dd>

View File

@@ -43,7 +43,7 @@
<dl dt="width: 6em;">
<dt><hl key="Indicator">%</hl></dt><dd>The current buffer</dd>
<dt><hl key="Indicator">#</hl></dt><dd>The alternate buffer for <ex>:e #</ex> and <k name="C-^"/></dd>
<dt><hl key="Indicator">#</hl></dt><dd>The alternate buffer for <ex>:buffer #</ex> and <k name="C-^"/></dd>
</dl>
</description>
</item>