1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 07:32:25 +01:00

Add dactyl:h4 tag.

This commit is contained in:
Kris Maglione
2010-12-18 19:14:20 -05:00
parent 394420a9d1
commit bfa576e2b3
4 changed files with 17 additions and 21 deletions

View File

@@ -291,7 +291,7 @@ const Buffer = Module("buffer", {
onLocationChange: function onLocationChange(webProgress, request, uri) { onLocationChange: function onLocationChange(webProgress, request, uri) {
onLocationChange.superapply(this, arguments); onLocationChange.superapply(this, arguments);
statusline.updateUrl(); statusline.updateUrl();
statusline.updateProgress(); statusline.updateProgress(webProgress.DOMWindow || content);
for (let frame in values(buffer.allFrames())) for (let frame in values(buffer.allFrames()))
frame.dactylFocusAllowed = false; frame.dactylFocusAllowed = false;

View File

@@ -341,34 +341,29 @@ const ConfigBase = Class(ModuleBase, {
HelpString[delim]::before content: attr(delim); HelpString[delim]::before content: attr(delim);
HelpString[delim]::after content: attr(delim); HelpString[delim]::after content: attr(delim);
HelpHead;html|h1;dactyl://help/* { HelpHead;html|h1,html|h2,html|h3,html|h4;dactyl://help/* {
display: block; font-weight: bold;
color: #527BBD;
clear: both;
}
HelpHead1;html|h1;dactyl://help/* {
margin: 2em 0 1em; margin: 2em 0 1em;
padding-bottom: .2ex; padding-bottom: .2ex;
border-bottom-width: 1px; border-bottom-width: 1px;
font-size: 2em; font-size: 2em;
font-weight: bold;
color: #527BBD;
clear: both;
} }
HelpSubhead;html|h2;dactyl://help/* { HelpHead2;html|h2;dactyl://help/* {
display: block;
margin: 2em 0 1em; margin: 2em 0 1em;
padding-bottom: .2ex; padding-bottom: .2ex;
border-bottom-width: 1px; border-bottom-width: 1px;
font-size: 1.2em; font-size: 1.2em;
font-weight: bold;
color: #527BBD;
clear: both;
} }
HelpSubsubhead;html|h3;dactyl://help/* { HelpHead3;html|h3;dactyl://help/* {
display: block;
margin: 1em 0; margin: 1em 0;
padding-bottom: .2ex; padding-bottom: .2ex;
font-size: 1.1em; font-size: 1.1em;
font-weight: bold; }
color: #527BBD; HelpHead4;html|h4;dactyl://help/* {
clear: both;
} }
HelpTOC HelpTOC

View File

@@ -390,7 +390,8 @@
<xsl:template match="dactyl:em | dactyl:tt | dactyl:p | <xsl:template match="dactyl:em | dactyl:tt | dactyl:p |
dactyl:dt | dactyl:dd | dactyl:dt | dactyl:dd |
dactyl:ol | dactyl:ul | dactyl:li | dactyl:ol | dactyl:ul | dactyl:li |
dactyl:h1 | dactyl:h2 | dactyl:h3" dactyl:h1 | dactyl:h2 | dactyl:h3 |
dactyl:h4"
mode="help-2"> mode="help-2">
<xsl:element name="{local-name()}"> <xsl:element name="{local-name()}">
<xsl:apply-templates select="@*|node()" mode="help-1"/> <xsl:apply-templates select="@*|node()" mode="help-1"/>

View File

@@ -151,7 +151,7 @@
<h3 tag="tedit-cursor-motions">Cursor motions</h3> <h3 tag="tedit-cursor-motions">Cursor motions</h3>
<p>Left-right motions</p> <h4>Left-right motions</h4>
<item> <item>
<tags><![CDATA[t_h t_<Left> t_<BS>]]></tags> <tags><![CDATA[t_h t_<Left> t_<BS>]]></tags>
@@ -234,7 +234,7 @@
</description> </description>
</item> </item>
<p>Up-down motions</p> <h4>Up-down motions</h4>
<item> <item>
<tags><![CDATA[t_k t_<Up>]]></tags> <tags><![CDATA[t_k t_<Up>]]></tags>
@@ -276,7 +276,7 @@
</description> </description>
</item> </item>
<p>Word motions</p> <h4>Word motions</h4>
<item> <item>
<tags><![CDATA[t_b t_B t_<C-Left>]]></tags> <tags><![CDATA[t_b t_B t_<C-Left>]]></tags>
@@ -382,7 +382,7 @@
</description> </description>
</item> </item>
<h3 tag="tedit-deleting">Deleting text</h3> <hh4 tag="tedit-deleting">Deleting text</hh4>
<item> <item>
<tags>t_d</tags> <tags>t_d</tags>