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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Highlighting specific tags

Thread ID:

Created:

Updated:

Platform:

Replies:

60775 May 11,2007 08:47 AM UTC May 18,2007 08:25 AM UTC WinForms 4
loading
Tags: EditControl
Dmitry Kuskov
Asked On May 11, 2007 08:47 AM UTC

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.

Administrator [Syncfusion]
Replied On 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

Dmitry Kuskov
Replied On May 17, 2007 11:25 AM UTC

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

Administrator [Syncfusion]
Replied On 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

Dmitry Kuskov
Replied On May 18, 2007 08:25 AM UTC

Yes, that is exactly what I need. Thanks.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;