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:

Created:

Updated:

Platform:

Replies:

9013 Dec 2,2003 11:19 AM Dec 3,2003 02:44 PM Windows Forms 3
loading
Tags: EditControl
Charles Skelton
Asked On December 2, 2003 11:19 AM

Does the edit control have support for bracket matching, and if so how do i enable it? Thanks, Charlie

Gurucharan Patwal [Syncfusion]
Replied On December 2, 2003 04:04 PM

Hi Charlie, To show the matching clue for "()", "[]", and "{}", set the BraceMatchingEnabled property (not visible in the designer) to be true, e.g., public Form1() { InitializeComponent(); ...... editControl1.BraceMatchingEnabled = true; } Please let me know if this helps. Regards, Guru Patwal Syncfusion, Inc.

Charles Skelton
Replied On December 3, 2003 01:36 AM

Very good - that works fine. I''ve noticed that several editor packages in c# show the brackets in rectangles, where as other editors simply change the matching brackets to bold font - I think I prefer the bold font style as it does not obscure the bracket character and cursor. I have yet to gather feedback from my users on this. Many thanks for your help, Charlie

Gurucharan Patwal [Syncfusion]
Replied On December 3, 2003 02:44 PM

Hi Charlie, Thanks for the update. We are glad that you liked this feature of our product. Please let me know if you need any other information. Regards, Guru Patwal Syncfusion, Inc.

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.

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.

;