option to filter blocks using Text Filters
In Meld, we have text filters which give option to filter out lines matching certain regular expressions. But, Sometimes we want to filter out text blocks from file comparisons, rather than just lines. It could be like: filter 7 lines from both files, after the matching regular expression. In text filters in preferences dialog, we have 3 columns right now Active, Name, Pattern. Another column can be added to include the number of lines after this pattern match to filter. For Ex- Active Name Pattern Lines_To_Filter yes label1 #.* 7
In this case, lets say pattern matches at line 32 in file. So all lines from 32 to 39 should be filtered out.
This is useful when we have certain docstring, license terms, usage lines in a file which start with certain pattern, but have different text blocks following them and we want to filter them out.