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

This forum should be used for all code folding problems, questions or suggestions. You can also use this forum to request folding support for a new language.
Post Reply
Sergeant
Posts: 3
Joined: Fri Jan 13, 2006 1:19 pm
Location: Germany

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

Post 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
jussij
Site Admin
Posts: 2464
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
jussij
Site Admin
Posts: 2464
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
Sergeant
Posts: 3
Joined: Fri Jan 13, 2006 1:19 pm
Location: Germany

Post by Sergeant »

Hello Jussi,

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

Regards
Juergen
Post Reply