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.

unindent

Thread ID:

Created:

Updated:

Platform:

Replies:

99568 May 27,2011 04:46 PM Jun 9,2011 07:36 AM Windows Forms 1
loading
Tags: EditControl
steve
Asked On May 27, 2011 04:46 PM

I have a question in regards to the indenting.

in my config file i have the following

AutoNameExpression=";FOLD\s*(?.*)\s*(\n|;)"
AutoNameTemplate="${text} "
BeginBlock=";FOLD"
EndBlock=";ENDFOLD"
Indent="true"
CollapseName=";FOLD"
IsCollapsable="true"
IsCollapseAutoNamed="true"
IsComplex="true"
IsEndRegex="false"
Type="KeyWord"
>

everything indents but the problem is that i would like ";ENDFOLD" to be unindented. is this possible?



Vallarasu S [Syncfusion]
Replied On June 9, 2011 07:36 AM

Hi Steve,

Thanks for your interest in Syncfusoin products.

For Smart AutoIndentMode EditControl has implementations to un-Indent at the EndBlock, Do you have the AutoIndentMode set to Block? I was unable to reproduce this scenario with the AutoIndentMode set to Block.

If you could send us a sample to demonstrate the behavior I can try for an alternate to un-indent at the EndBlock. In general the solution would be to find the EndBlock of the Indent lexem and if it matches the BeginBlock, we can go for deleting the white space appended at the beginning of the line.

Thanks,
Vallarasu S.



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.

;