1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 08:02:28 +01:00

Get rid of offensively long list of specs for :setl and :setg, and other small help formatting changes.

This commit is contained in:
Kris Maglione
2010-12-29 23:46:56 -05:00
parent 538b91719e
commit 1de88a4016
4 changed files with 48 additions and 62 deletions

View File

@@ -458,14 +458,16 @@
<xsl:template match="dactyl:se" mode="help-2">
<xsl:variable name="nodes" xmlns="&xmlns.dactyl;">
<ex>:set</ex>
<xsl:text> </xsl:text>
<link topic="'{@opt}'"><hl key="HelpOpt"><xsl:value-of select="@opt"/></hl></link>
<xsl:choose>
<xsl:when test="@op and @op != ''"><xsl:value-of select="@op"/></xsl:when>
<xsl:otherwise>=</xsl:otherwise>
</xsl:choose>
<xsl:copy-of select="@*|node()"/>
<html:span style="display: inline-block;">
<ex>:set</ex>
<xsl:text> </xsl:text>
<link topic="'{@opt}'"><hl key="HelpOpt"><xsl:value-of select="@opt"/></hl></link>
<xsl:choose>
<xsl:when test="@op and @op != ''"><xsl:value-of select="@op"/></xsl:when>
<xsl:otherwise>=</xsl:otherwise>
</xsl:choose>
<xsl:copy-of select="@*|node()"/>
</html:span>
</xsl:variable>
<xsl:apply-templates select="exsl:node-set($nodes)" mode="help-1"/>
</xsl:template>