Change element value color

Questions about XML that are not covered by the other forums should go here.
tatternutz
Posts: 3
Joined: Mon Feb 08, 2016 6:27 pm

Change element value color

Post by tatternutz »

Newborn here trying to find how to change the color schema. I want my element values to be red instead of black but cannot find in Preferences. Any suggestions/directions appreciated.

<OrgTaxID>123456</OrgTaxID>
<OrgTermType>Bank</OrgTermType>
<OrgType>Bank Holding Company</OrgType>


<OrgTaxID>123456</OrgTaxID>
<OrgTermType>Bank</OrgTermType>
<OrgType>Bank Holding Company</OrgType>

Thank you
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Change element value color

Post by adrian »

Hi,

Go to Options > Preferences, Editor / Syntax Highlight and under XML change the Foreground color for Text.
Note that this affects the text color in XML, XSD XSL and RNG documents.
You might want to also change the color for Error, which is already red, so you can tell the difference between normal text and errors.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tatternutz
Posts: 3
Joined: Mon Feb 08, 2016 6:27 pm

Re: Change element value color

Post by tatternutz »

That was easy enough, still learning my way through the UI. Thank you @adrian.
Post Reply