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
close icon

duplicate cases in language definition

I'm trying to define both a one line "If...Then...Else" statement and a multiline
"If...Then...
else
...
endif" statment. The one line statement is not collapsible, but the multiline statement is. when I try to include both definitions in the language configuration XML file, the editor always assume a user is using the multiline statement and allow any block of code to collapse as long as it starts with an "If" and ends with an "Endif"
How can I fix this?

thanks,

Frank Zhang

3 Replies

AD Administrator Syncfusion Team April 3, 2007 03:45 AM UTC

Hi Frank,

Our apologies for the delayed response. I have consulted the Edit development team regarding the above mentioned issue and will update you with more information within a day.

Thanks for your patience.

Regards,
Ebenezer.P


FZ Frank Zhang April 4, 2007 01:59 PM UTC

Ok, I would appreciate any help. Hopefully, it's possible to do this.


AD Administrator Syncfusion Team May 23, 2007 12:42 PM UTC

Hi Frank,

I apologize for the delayed response. Both single line and multi line statements can be collapsed while using the EditControl. A sample demonstrating this is given below:

http://websamples.syncfusion.com/samples/Edit/58857/main.htm

Please let us know the version used, if you find the issue persisting.

Thanks for your patience.

Regards ,
Shirley

Loader.
Live Chat Icon For mobile
Up arrow icon