Hi Mark,
A first cut of the new xFolder.dll can be found here: http://www.zeusedit.com/z300/xFolder.zip
To install the new file just backup the xFolder.dll in the Zeus install folder and replace it with the one in the zip file.
If you find any issues please report them here.
Cheers Jussi
Code folding request for Informix 4gl
Hi Mark,
The new version of the xFolder.dll that fixes the problem with the display can be found here:
http://www.zeusedit.com/z300/xFolder.zip
Cheers Jussi
The new version of the xFolder.dll that fixes the problem with the display can be found here:
http://www.zeusedit.com/z300/xFolder.zip
Cheers Jussi
Hi Mark,
Here is another version to try out: http://www.zeusedit.com/z300/xFolder.zip
Cheers Jussi
Here is another version to try out: http://www.zeusedit.com/z300/xFolder.zip
It usually takes a few goes to get the foldign working, as most languages seem to have their little quirks.I forgot about this goofy syntax that is allowed.
Cheers Jussi
Ther problem is these two lines.MENU LINE FIRST,
INPUT WRAP,
Because they are MENU and INPUT lines they are both seen as point points but there are no matching END MENU and END INPUT end of fold points.
For example if you comment these lines out the folding will be fine.
So what happend to these end points?
For every point that is defined as a begin fold there must be a matching end fold otherwise the Zeus folding logic will just fail as it has in this case.
Cheers Jussi
PS: Is 4gi a valid file extension in addition to 4gl

That is easy enough to do.Do you have any kind of an 'exclusion list' where you can say: First word= INPUT but not if second word = WRAP ?
Is there any similar rule for the MENU case

Cheers Jussi
Last edited by jussij on Mon Jun 22, 2009 3:04 pm, edited 1 time in total.
The Zeus folder has to decide if a line is a fold point using nothing but the information found in that line. I other words it will not know if it is or isn't inside a OPTIONS section.Inside of an OPTIONS section you can have:
INPUT WRAP
INPUT NO WRAP
MENU LINE
So for example the best the folder can do in these cases is ignore INPUT lines that are followed by WRAP and NO WRAP and ignore the MENU lines if it is follwed by LINE.
But will this be enough to stop invalid fold points

If it isn't then the best thing to do is just remove INPUT nad MENU as fold points.
Will doI think you are already handling the DISPLAY word by itself? It should be ignored in favor of DISPLAY ARRAY.

Cheers Jussi
See the view, folding menu.PS: Is there a way in a macro or a keystroke to have it fold or unfold all of the folding points?
Also since all of the main menus map to a keyboard function, anything that can be done via the menu can also be done via the keyboard or macro.
The easiest way to find out which keyboard function maps to what menu is to use the macros menu to record a macro, use the the menu in question, stop the recording and then view the source of the macro using the macros, view source menu.
There is an option to open all folds on the menu qutoed aboveLike if you are editing a file, and want to view the whole thing without any folded sections. It looks like you can save and close the file and then reload it and this will happen.

Cheers Jussi