XPath expressions syntactically highlighted in XSLT

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/

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@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@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Adrian Buza wrote: Hi,
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.
Perfect, that's what I was looking for! I've set an RGB grey of 230-230-230, I'll see after a few days but I think it is more clear like that, yes... Thank you for the support, regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/
participants (2)
-
Adrian Buza
-
Florent Georges