grep fold
grep fold
A feature I found in CodeWrite to be very useful was the ability to grep within the F9 command line. This acted upon the current document by folding all the lines in the edit window except those satifying the grep regular expression. They didn't have the language-specific folding feature that Zeus edit has. Would it be possible to have a feature like this added to Zeus?
Hi David,
I might be missing something here, but isn't this how the search results windows currently works
For example if I was to do this:

For example what sort of user interface did this feature use. Was it mouse, menu or keyboard driven
How where the folds displayed, could they be toggle on and off, is there an extra left margin control that manages this etc
Also how did the user tell CodeWrite this was is the special fold the active file grep as apposed to a more general find in files grep
Cheers Jussi
By this I assume you mean all files matching the grep are displayed, while those that do not match the grep are hidden.A feature I found in CodeWrite to be very useful was the ability to grep within the F9 command line. This acted upon the current document by folding all the lines in the edit window except those satisfy the grep regular expression.
I might be missing something here, but isn't this how the search results windows currently works

For example if I was to do this:
- Open the c:\program files\zeus\zexample\wildcard.c file
- Use the Tools, Command Line menu
- Type in the xfgrep.exe -f -n -i int "$fn" command line
- Run the command

To me this sounds like a totally new type of folding feature, but having never used CodeWrite I am having a little difficult picturing how this feature actually worksWould it be possible to have a feature like this added to Zeus?

For example what sort of user interface did this feature use. Was it mouse, menu or keyboard driven

How where the folds displayed, could they be toggle on and off, is there an extra left margin control that manages this etc

Also how did the user tell CodeWrite this was is the special fold the active file grep as apposed to a more general find in files grep

Cheers Jussi