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

AutoIndent

Thread ID:

Created:

Updated:

Platform:

Replies:

54992 Jan 22,2007 02:12 PM UTC Jan 29,2007 10:12 AM UTC WinForms 2
loading
Tags: EditControl
Andy Mash
Asked On January 22, 2007 02:12 PM UTC

Hi,

I am creating a code editor that will be used to edit Visual Basic Scripts. I've created my own config.xml file that is being used for the syntax highlighting.

Currently when I add an If statement to the EditControl it will be formatted as shown below:

If a = b Then


End If

However if I add an ElseIf statement to the If statement it is formatted like this:

If a = b Then

ElseIf

End If

I would like the AutoIndent to format it as shown below:


If a = b Then

ElseIf

End If

Does anybody know if this is possible and if so how should my config.xml file be changed?


Many Thanks, Andy

I am using Essential Studio 4.4.0.51 and VS.NET 2005

Administrator [Syncfusion]
Replied On January 25, 2007 11:45 PM UTC

Hi Andy,

Our apologies for the delayed response. It is possible to format the ElseIf statement. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thanks for your patience.

Regards,
Ebenezer.P

rel='nofollow' href=http://www.syncfusion.com/Support/user/uploads/54992_a8f32b3a.zip>sample

Andy Mash
Replied On January 29, 2007 10:12 AM UTC

Thanks for the help, its just what I wanted.

Andy

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

;