Page 1 of 1

Minor Bug: Negative Number Chroma-Coding in XML

Posted: Wed Jun 22, 2011 10:07 pm
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.

Posted: Thu Jun 23, 2011 12:36 am
by jussij
In the Keyword section of the Document Type change the number regular expression to be:

Code: Select all

([+-]*)[0-9]+
Cheers Jussi

Posted: Thu Jun 23, 2011 12:45 am
by Rat
Thanks... works well