[oXygen-user] XPath expressions syntactically highlighted in XSLT
Adrian Buza
adrian at sync.ro
Tue Feb 7 04:42:03 CST 2012
Hi,
It's true that they are difficult to differentiate from one another, but
this can already be easily fixed.
Go to Options > Preferences, Editor > Colors and look for XPATH. Select
all the token types of XPATH(from "Text" to "Star"), enable the
"Background" option and pick a background color from the color picker. I
recommend a light-gray color.
Note that this background color will affect all XPath expressions from
attribute values inside XSLT, but also the XPath expressions from the
other Oxygen helpers(XPath toolbar and builder).
I've logged an issue to investigate and have something like this
out-of-the-box.
Regards,
Adrian
Adrian Buza
oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
Florent Georges wrote:
> Hi,
>
> In 13.2, I discovered the new feature of highlighting the XPath
> expressions in the select attributes in XSLT. While this is a
> good idea I think, the result is not really clear in my humble
> opinion. It is hard to visually differentiate the value of the
> attributes (the XPath expressions) and the XSLT instructions
> themselves, as they use nearly the same colors.
>
> Something that could (probably) help would be to have the
> ability to add some grey-shading under the select attributes.
> Like a (very) light background color. So it would be possible to
> visually differentiate directly what's an XPath expression and
> what's the XSLT structure.
>
> Just some thought...
>
> Regards,
>
> --
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
More information about the oXygen-user
mailing list