1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 19:54:12 +01:00

Add &tag.command-line; and &tag.status-line; entities.

This commit is contained in:
Kris Maglione
2010-10-16 22:20:57 -04:00
parent 11a98b31f7
commit ce089bf60f
23 changed files with 36 additions and 30 deletions

6
common/content/help.dtd Normal file
View File

@@ -0,0 +1,6 @@
<!ENTITY % dactylMain SYSTEM "chrome://dactyl/content/dactyl.dtd">
%dactylMain;
<!ENTITY tag.command-line '<link topic="command-line">command line</link>'>
<!ENTITY tag.status-line '<link topic="status-line">status line</link>'>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="all"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="autocommands"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="browsing"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="buffer"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="cmdline"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd" [
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd" [
<!ENTITY tab "&#xa0;&#xa0;&#xa0;">
]>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="eval"
@@ -15,7 +15,7 @@
Much of the power of &dactyl.appName; lies in its scriptable expression
evaluation. &dactyl.appName; understands two kinds of expressions: Ex
commands, and JavaScript. Ex commands are simple, easy to type, and
readily accessible from the <link topic="command-line">command line</link>.
readily accessible from the &tag.command-line;.
They form a core part of the user interface. JavaScript, on the other hand,
is much less straightforward, but allows for any number of complex actions
to be executed, with full access to all of the internals of &dactyl.appName;

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="gui"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="hints"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="index"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="insert"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="map"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="marks"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="message"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd" [
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd" [
<!ENTITY hinttags "//*[@onclick or @onmouseover or @onmousedown or
@onmouseup or @oncommand or @role='link'] |
//input[not(@type='hidden')] | //a | //area |
@@ -366,7 +366,7 @@
Enables automatic completion for completion groups matching the
given regular expressions. When automatic completion is enabled,
the completion list is automatically opened when the
<link topic="command-line">command line</link> is focused.
&tag.command-line; is focused.
Thereafter, any key press triggers a completion update for the
matching groups (hereafter contexts). Non-matching contexts will
only be updated when the <k name="Tab" mode="c"/> key is pressed.
@@ -1317,8 +1317,8 @@
<dl dt="width: 6em;">
<dt>0</dt> <dd>Don't show link destination</dd>
<dt>1</dt> <dd>Show the link's destination in the <link topic="status-line">status line</link></dd>
<dt>2</dt> <dd>Show the link's destination in the <link topic="command-line">command line</link></dd>
<dt>1</dt> <dd>Show the link's destination in the &tag.status-line;</dd>
<dt>2</dt> <dd>Show the link's destination in the &tag.command-line;</dd>
</dl>
</description>
</item>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="pattern"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="print"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="repeat"
@@ -162,9 +162,9 @@
<p>
Ex command files are executed as if each line were entered into
the <link topic="command-line">command line</link> individually.
the &tag.command-line; individually.
Additionally, certain commands support the same here document
syntax supported by most Unix shells and by the <link topic="command-line">command line</link>.
syntax supported by most Unix shells and by the &tag.command-line;.
So, to execute a JavaScript statement which does not comfortably fit
on a single line, you can use
</p>
@@ -234,7 +234,7 @@
<p>
Ex command scripts are similar to both entering commands on the
<link topic="command-line">command line</link> and to Vim
&tag.command-line; and to Vim
scripts, but with some notable differences.
</p>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="starting"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="styling"
@@ -94,7 +94,7 @@
<dt>Null</dt> <dd>A JavaScript Null object</dd>
<dt>Number</dt> <dd>A JavaScript Number object</dd>
<dt>Object</dt> <dd>A JavaScript Object</dd>
<dt>Preview</dt> <dd>The completion preview displayed in the <link topic="command-line">command line</link></dd>
<dt>Preview</dt> <dd>The completion preview displayed in the &tag.command-line;</dd>
<dt>Question</dt> <dd>A prompt for a decision</dd>
<dt>Search</dt> <dd>Highlighted search results in a web page</dd>
<dt>StatusLine</dt> <dd>The status bar</dd>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="tabs"

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<!DOCTYPE document SYSTEM "chrome://dactyl/content/help.dtd">
<document
name="various"