We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Highlighting specific tags

What is the simplest way to make editor highlight some specific tag when using the "XML" configuration ?
For example, I need to use the "XML" syntax highlighting + emphasize some tag with red color.

4 Replies

AD Administrator Syncfusion Team May 15, 2007 08:57 PM UTC

Hi tmn,

It is possible to highlight specific tag using Splits in the configuration file. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.

Regards,
Ebenezer.P

http://websamples.syncfusion.com/samples/Edit/60775/main.htm


DK Dmitry Kuskov May 17, 2007 11:25 AM UTC

Thanks, but is it possible to do it programmatically without creating a configuration file.


AD Administrator Syncfusion Team May 17, 2007 06:27 PM UTC

Hi tmn,

It is possible to highlight specific tag programmatically using ConfigLexem. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.

Regards,
Ebenezer.P

http://websamples.syncfusion.com/samples/Edit/60775/main.htm


DK Dmitry Kuskov May 18, 2007 08:25 AM UTC

Yes, that is exactly what I need. Thanks.

Loader.
Live Chat Icon For mobile
Up arrow icon