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

Autoindent problem

Thread ID:





7899 Oct 14,2003 10:55 AM UTC Oct 16,2003 12:32 PM UTC WinForms 3
Tags: EditControl
David Loomes
Asked On October 14, 2003 10:55 AM UTC

There appears to be some sort of problem with the autoindent feature. This works perfectly (smart indent with {} as the smart indent characters) so long as a fixed pitch font is selected (Courier New for example). If I switch to a proportional font (Tahoma) the autoindent function goes badly wrong, adding mixtures of tab and space characters which do not line up instead of tabs only as it does with fixed fonts. Any help would be appreciated David Loomes

Administrator [Syncfusion]
Replied On October 14, 2003 03:12 PM UTC

Hi David, I have tested for this issue using the sample attached in version, but was unable observe the above mentioned behavior. The smart indent with {} as smart indent characters worked fine both in Courier New as well as Tahoma font. I would appreciate if you could modify this sample application to show the error and please let me know the steps to reproduce it so that we could further investigate this. Thanks for your cooperation on this issue. Regards, Guru Patwal Syncfusion Inc.

David Loomes
Replied On October 14, 2003 08:38 PM UTC

Guru, Many thanks for your efforts. Firstly, I am using Visual Studio 2003, so your project file got converted when I loaded it. Second, I had to set StartWithNewFile to true before I could type anything. Then I selected Tahoma and entered the following function(x, y) { if (x < y) { x = y; } else { y = x; } } The code example above was copied straight from Essential Edit and pasted into this e-mail. As I hope you can see, the indents don't line up and are a mixture of tabs and spaces. With Courier New, only tabs are used and the result is what you would expect. Regards David Loomes ps I am using

Administrator [Syncfusion]
Replied On October 16, 2003 12:32 PM UTC

Hi David, Thanks for the update and the code snippet. I could observe this indentation error when I tested this in VS.NET 2003 using Essential Edit version This is a bug in our EditControl and QA Report (Id# 315) has been logged in this regard. We will try our very best to fix this bug at the earliest and include this bugfix in our future releases. I have also informed the Essential Edit Development Team about this problem and will keep you updated regarding the developments. Thanks for your patience and cooperation. Regards, Guru Patwal Syncfusion Inc.


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

or the page will be automatically redirected to 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