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.
By this I assume you mean all files matching the grep are displayed, while those that do not match the grep are hidden.
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
Isn't the resulting search window nothing more than a folded representation of file in that the search window only displays lines matching the grep
Would it be possible to have a feature like this added to Zeus?
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 works
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