Page 1 of 1

VB Script COM Code Folding

Posted: Mon Apr 27, 2009 7:07 pm
by Charles Gahr
VBS COM files fold OK except for the XML statement <method> would it be possible to include folding for this, like the folding for the XML statement <property> ? Thanks
:D
Chuck Gahr

Posted: Tue Apr 28, 2009 12:12 am
by jussij
Hi Chuck,

You are going to have to send me a VB Script sample file that contains the property and method folding case so that I can see how it currently works.

I had a look at the VB Script folding and it does do folding on the Property, EndProperty, but if it is folding the XML property correctly it might just be a fluke.

Cheers Jussi

VB Script COM Code Folding

Posted: Tue Apr 28, 2009 7:14 pm
by Charles Gahr
You're right, it is a fluke. And since your reply, I have figured out a work-around. I don't need folding on the XML part of VBS COMs, so I just add one XML comment including the word end, at the end of my XML properties and methods. It results in one complete folding of all the XML properties and methods, which is fine for my use; no need for any fixes to Zeus. Thanks much.
:D
Chuck