1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 09:25:45 +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 version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?> <?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 <document
name="all" name="all"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?> <?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 <document
name="eval" name="eval"
@@ -15,7 +15,7 @@
Much of the power of &dactyl.appName; lies in its scriptable expression Much of the power of &dactyl.appName; lies in its scriptable expression
evaluation. &dactyl.appName; understands two kinds of expressions: Ex evaluation. &dactyl.appName; understands two kinds of expressions: Ex
commands, and JavaScript. Ex commands are simple, easy to type, and 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, 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 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; 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 version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?> <?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 <document
name="gui" name="gui"

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?> <?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 <document
name="map" name="map"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?> <?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 <document
name="repeat" name="repeat"
@@ -162,9 +162,9 @@
<p> <p>
Ex command files are executed as if each line were entered into 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 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 So, to execute a JavaScript statement which does not comfortably fit
on a single line, you can use on a single line, you can use
</p> </p>
@@ -234,7 +234,7 @@
<p> <p>
Ex command scripts are similar to both entering commands on the 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. scripts, but with some notable differences.
</p> </p>

View File

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

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?> <?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 <document
name="styling" name="styling"
@@ -94,7 +94,7 @@
<dt>Null</dt> <dd>A JavaScript Null object</dd> <dt>Null</dt> <dd>A JavaScript Null object</dd>
<dt>Number</dt> <dd>A JavaScript Number object</dd> <dt>Number</dt> <dd>A JavaScript Number object</dd>
<dt>Object</dt> <dd>A JavaScript 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>Question</dt> <dd>A prompt for a decision</dd>
<dt>Search</dt> <dd>Highlighted search results in a web page</dd> <dt>Search</dt> <dd>Highlighted search results in a web page</dd>
<dt>StatusLine</dt> <dd>The status bar</dd> <dt>StatusLine</dt> <dd>The status bar</dd>

View File

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

View File

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