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. Image for the cookie policy date

Edit Control AutoIndent

I am making a C# editor, but I want to customize the colors used.  Essentially I want to mimic the dark theme from VS.NET.  So I made an XML file with the configuration colors in it, and everything looks nice, except when I use the custom configuration, I lose all of the auto indent features that are there when I use the standard C# configuration that ships with the control.  Is there a way I can get smart formatting mode to work with a custom configuration file?  I tried adding the lexem example with the braces as outlining characters but that didn't seem to change anything.

1 Reply

ST Saravanan T Syncfusion Team April 27, 2015 05:35 PM UTC

Hi Bruce,

Thank you for using Syncfusion products.

We regret to let you know that, we are unable to understand this reported requirement clearly. Because AutoIndent functionality is different in compared, with EditControl control back color appearance and custom configuration settings. We have also ensured the reported AutoIndent functionality, when custom configuration settings are enabled in EditControl. Could you please check with the sample and video attached in below location?

Sample Location: http://www.syncfusion.com/downloads/support/forum/118936/Custom_Config-1311427990.zip

Video Location: http://www.syncfusion.com/downloads/support/forum/118936/EditControl_test-173485767.zip

Could you please share us the custom configuration settings, which has been applied to EditControl. That will be helpful for us to analyse and provide prompt solution as earlier as possible.

Please let us know if you need any further assistance on this.

Saravanan T

Live Chat Icon For mobile
Up arrow icon