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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Edit Control AutoIndent

Thread ID:





118936 Apr 25,2015 04:41 AM UTC Apr 27,2015 05:35 PM UTC WinForms 1
Tags: EditControl
Bruce Van Horn
Asked On April 25, 2015 04:41 AM UTC

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.

Saravanan T [Syncfusion]
Replied On 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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