Suppose I have a lot of lines like:
A
A
A
B
A
A
A
B
A
The "B" line is essentially a marker, and what I'm really interested is in the "A" line immediately preceding the "B" line. But there are lots of "A" lines in the file that I don't care about.
I'm not entirely sure what the best way to specify something like this would be:
Maybe in the Edit Filter window there could be a bit of UI that says "include nearby line ranges" where you can enter some numbers like "-3,-1" to include the 3 lines immediately preceding the one that matches the filter.
Another possibility would be to allow for a compound filter made up of several single-line filters where each filter has to match a consecutive line. This might address some of the use cases in #30 as well.
Suppose I have a lot of lines like: A A A B A A A B A
The "B" line is essentially a marker, and what I'm really interested is in the "A" line immediately preceding the "B" line. But there are lots of "A" lines in the file that I don't care about.
I'm not entirely sure what the best way to specify something like this would be:
Maybe in the Edit Filter window there could be a bit of UI that says "include nearby line ranges" where you can enter some numbers like "-3,-1" to include the 3 lines immediately preceding the one that matches the filter.
Another possibility would be to allow for a compound filter made up of several single-line filters where each filter has to match a consecutive line. This might address some of the use cases in #30 as well.