Page 1 of 1

How to fold like C-sourcecode:extension .tdf,cdf,pcd

Posted: Wed Feb 08, 2006 8:00 pm
by Sergeant
Hello,

the folding feature coming with Zeus I like a lot.

Unfortunately I have to edit C-sourcecode files with uncommon extensions, so folding does not work with this files.

Is it possible to configure that all files having extension .tdf, .cdf or .pcd get the same folding options like ordinary .c files?

Can I configure this myself or do I need a special dll for this?

It would be a great feature, if the user can configure, how specific fileextensions behave on folding.

Many thanks for any hint!
Sergeant

Posted: Wed Feb 08, 2006 10:37 pm
by jussij
Can I configure this myself or do I need a special dll for this?
Currently the only way to do this is via a new dll. Watch this space for a new dll.
It would be a great feature, if the user can configure, how specific fileextensions behave on folding.

Eventually the plan is to make the folding more user configurable.

Cheers Jussi

Posted: Tue Feb 14, 2006 10:19 pm
by jussij
The code folding for changes have been madeand the new xFolder.dll can be found here:

http://www.zeusedit.com/z300/xFolder.zip

To install this new dll backup the current dll and replace it with the one contained in the zip file.

To complete the install you will need to add these file extensions to a document type and enable the code folding option.

This version creates a xFolder.ini to the Zeus install directory and this file can be used to add new file extensions ;)

Cheers Jussi

Posted: Thu Feb 16, 2006 9:18 am
by Sergeant
Hello Jussi,

many thanks for your fast help making the Zeus folding feature configurable!

Regards
Juergen