Minor Bug: Negative Number Chroma-Coding in XML

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
Rat
Posts: 68
Joined: Wed Jun 15, 2011 1:18 am

Minor Bug: Negative Number Chroma-Coding in XML

Post by Rat »

In an XML file the sign and integer part of a negative number is not correctly chroma-coded.

In the example below the "-1" will be a different colour from the ".0":

Code: Select all

<tag>-1.0</tag>
Cheers,
Keith.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

In the Keyword section of the Document Type change the number regular expression to be:

Code: Select all

([+-]*)[0-9]+
Cheers Jussi
Rat
Posts: 68
Joined: Wed Jun 15, 2011 1:18 am

Post by Rat »

Thanks... works well
Post Reply