I am thinking of adding a level of filtering to Zeus.
While it will not be as sophisticated as the Kedit ALL/MORE/LESS/ZONE features it should hopefully be worthwhile.
How will it work?
There will be a new modeless File Filtering dialog:
Code: Select all
+------------------------------------------------+
| File Filtering |
+------------------------------------------------+
| +----------------------------+ +---+ |
| Document: | C:\temp\test.txt | |...| |
| +----------------------------+ +---+ |
| |
| +-- Add Filters -----------------------------+ |
| | +----------------------+ | |
| | Filter #1: | | | |
| | +----------------------+ | |
| | +----------------------+ | |
| | Filter #2: | | | |
| | +----------------------+ | |
| | +-------+ | |
| | | Apply | | |
| | +-------+ | |
| +--------------------------------------------+ |
| +--- Remove Filters -------------------------+ |
| | +----------------------+ | |
| | Filter #1: | | | |
| | +----------------------+ | |
| | +----------------------+ | |
| | Filter #2: | | | |
| | +----------------------+ | |
| | +-------+ | |
| | | Apply | | |
| | +-------+ | |
| +--------------------------------------------+ |
| +-- Line Changes ----------------------------+ |
| | +----------------------+ | |
| | Search #1: | | | |
| | +----------------------+ | |
| | +----------------------+ | |
| | Replace #2: | | | |
| | +----------------------+ | |
| | +-------+ | |
| | | Apply | | |
| | +-------+ | |
| +--------------------------------------------+ |
| +-------+ |
| | Close | |
| +-------+ |
+------------------------------------------------+
The Add Filters are regular expressions that define which lines of the input file will be taken to create a new document.
The Remove Filters are regular expressions that define which lines of the new document file will be remove.
The Line Changes are search and replace regular expressions that define how to change the lines of the new document.
How will the results be displayed?
As soon as the first Add Filter is applied a new document will be created and displayed in Zeus just like any other text file.
What do we think?
Any comments, suggestions, improvements etc.
Cheers Jussi