[BZ#650432] Text filters don't apply to inline highlighting
Submitted by Davide
Link to original bug (#650432)
Description
Created attachment 187990 screenshot
This is related to bug 650431, which is an example of this bug, but 650431 has a straightforward workaround (i.e. ignoring also whitespace, as described there), which does not exist for this more general case
Consider the following two files, compared with meld using an "ignoreme" text filter:
~/scratch/meld$ cat a.txt; echo; cat b.txt line 1 ignoreme same stuff here line 2 ignoreme foo blah blah line 3 some other stuff ignoreme
line 1 same stuff here line 2 foo blah blah blah line 3 ignoreme some other stuff
Difference in line 2 should show only one of the "blah", since "ignoreme" should be ignored. However, that pattern is not ignored.
I understand the (software engineering) reasons why it isn't, and I also assume that in general it's not a big deal for users.
However, in same cases (e.g. when the pattern is complex and there are several matches per line).
I would be eager to completely rewrite the single-line-diff, taking into account filters, but would the patch be accepted?
Attachment 187990, "screenshot":