Sub filters
Sub filters allow a restricted part of the entire text to be operated on by a group of filters without effecting the entire text. For example, a Restrict to delimited fields (CSV, Tab, Pipe etc) filter can pick out a range of CSV fields, and then a search/replace filter can operate JUST on the text restricted.

Creating a sub filter
To create a sub filter, simply drag a filter onto the text of another. If the filter supports sub filters (not all do), when you drop the filter it will be dropped as a sub filter. If you drag the filter to an area outside of the destination filter's text, you can control whether to add it above or below the destination filter. An alternative to positioning the mouse in the right hand side of the tree view is to hold down the [Shift] key while you drag. You can also hold down the [Alt] key when you add a new filter and it will be added as a sub filter of the current filter (if allowed).
Watch the status bar for information of whether TextPipe is going to simply swap filter positions or if it will create a sub filter.
Keyboard commands
- Alt+Up Moves the selected filter up one position
- Alt+Down Moves the selected filter down one position
- Alt+(add a new filter) If allowed, TextPipe adds the new filter as a sub filter of the currently selected filter.
- Shift+(add a new filter) TextPipe adds the new filter at the parent level of the current filter.
- Shift+(drag a filter) Tries to add the dragged filter as a sub filter regardless of whether the mouse is in the right hand half of the tree view or not.
Other examples
Delete 11 lines starting at line 3
Hex encode tab fields 3 to 7
Many different filters support sub filters.
Note - sub filters treat each section of restricted text as a complete file.
|