Hi Frank,
Thank you for contacting Syncfusion
support.
This requirement for
highlighting two different colors can be achieved by using sublexems as per
your code. In addition we need to configure the lexem in the Sublexem region
using Split, which contain list of expressions that must be treated as a single
word. Since the sublexem includes the regular expression content we need to
include the following code snippet in the configuration file.
Code Snippet [XML] :
<splits> <split IsRegex="true">[A-Ga-g0-9]</split> <split IsRegex="true">[0-9A-Ga-g]</split> </splits> |
We have prepared a sample for your reference which can be
downloaded from the following location.
Sample Location : http://www.syncfusion.com/downloads/support/directtrac/general/EDITCO~1-628836919.ZIP
Please let us know whether this solution satisfies your
requirement.
Regards,
Vinothini