Cannot customize colors for XSLT stylesheet in text mode

Oxygen general issues.
jo3_11_5
Posts: 6
Joined: Tue Sep 11, 2012 1:39 pm

Cannot customize colors for XSLT stylesheet in text mode

Post by jo3_11_5 »

Hi,
I prefer to work with a darker theme and to this end have adjusted the color preferences in Oxygen XML Edior (15.0, build 2013061418). However, I cannot figure out how to adjust the color of for-statements and variables.

For example, given the following code:

Code: Select all


    <xsl:for-each-group group-by="." select="
for $w in //text()/tokenize(., '\W+')[.!=''] return lower-case($w)">
<xsl:sort select="count(current-group())" order="descending"/>
<word word="{current-grouping-key()}" frequency="{count(current-group())}"/>
</xsl:for-each-group>
It looks like this in Oxygen at the moment:

Image

As you can see, much of the stuff on lines 10 - 14 is not legible. How do I adjust those colors?

Thanks
Joakim
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Cannot customize colors for XSLT stylesheet in text mode

Post by adrian »

Hello,

Oxygen has nested syntax highlight, so it recognizes the XPath expressions in XSLT attribute values and uses the corresponding syntax highlight colors.
There is a different set of tokens for XPath that you can configure the color for. Look in:
Options > Preferences, Editor > Colors, XQUERY-XPATH.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply