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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

bracket matching

Thread ID:

Created:

Updated:

Platform:

Replies:

60510 May 7,2007 02:59 PM UTC May 24,2007 01:06 PM UTC WinForms 3
loading
Tags: EditControl
Craig Timmerman
Asked On May 7, 2007 02:59 PM UTC

Syncfusion 4.2.0.37

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.

configfiles.zip

Administrator [Syncfusion]
Replied On May 8, 2007 02:42 AM UTC

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.

Regards,
Ebenezer.P

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

Craig Timmerman
Replied On May 8, 2007 12:25 PM UTC

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 01:06 PM UTC

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:

http://websamples.syncfusion.com/samples/Edit/60510-1/main.htm

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,
Shirley


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

;