mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 16:04:11 +01:00
Hint mode improvements.
This commit is contained in:
@@ -232,9 +232,13 @@
|
||||
<xsl:variable name="type" select="preceding-sibling::dactyl:type[1] | following-sibling::dactyl:type[1]"/>
|
||||
<span dactyl:highlight="HelpDefault">(default:<xsl:text> </xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with($type, 'string') or starts-with($type, 'regex')">
|
||||
<xsl:when test="$type = 'string'">
|
||||
<span dactyl:highlight="HelpString"><xsl:apply-templates mode="help-1"/></span>
|
||||
</xsl:when>
|
||||
<xsl:when test="contains($type, 'list') or contains($type, 'map')">
|
||||
<span dactyl:highlight="HelpString" delim=""><xsl:apply-templates mode="help-1"/></span>
|
||||
<xsl:if test=". = ''">(empty)</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<span>
|
||||
<xsl:attribute name="dactyl:highlight">
|
||||
|
||||
Reference in New Issue
Block a user