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.

bracket matching

Thread ID:





60510 May 7,2007 10:59 AM May 24,2007 09:06 AM Windows Forms 3
Tags: EditControl
Craig Timmerman
Asked On May 7, 2007 10:59 AM


What is the trick to get the EditControl to match angle brackets like your XML samples do. We have a language that is XML-like and I can't get the matching angle brackets to match (i.e. highlighted with the "blue" box). As another test I tried added the config description for braces and double quotes from the C# sample config to mine and can't get those to match either. Is there some other switch that has to be turned on to get the matching effect?

I'm attaching the config I'm using for my language and a small sample of what the language looks like.


Administrator [Syncfusion]
Replied On May 7, 2007 10:42 PM

Hi Craig,

Thanks for the attachments. It is possible to match angle brackets by setting the IndentationGuideline attribute to true 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.



Craig Timmerman
Replied On May 8, 2007 08:25 AM

This is closer, it gets the outer pair, but for several of the nested pairs it fails to match the brackets and only matches the most outer pair. It gets some of them, but not many of the nested pairs.

Is there a way to get all sets of angle brackets to match, no matter how nested?

Shirley Louis [Syncfusion]
Replied On May 24, 2007 09:06 AM

Hi Craig,

I apologize for the delayed response. The bracket matching does seem to fail for several nested pairs. However, as you might have noticed using the open and close braces for a tag, in the same line, avoids this problem. I have placed the sample tpl code, along with an image, for this in the following location:


Could you please create a Direct-Trac incident with the subject line "Bracket Matching - F60575" so that we could update you regarding the fix of this issue?

Thanks for your patience.

Best Regards,


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.

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.