On 15 December 2011 05:26, Christoph Siefer <[email protected]> wrote:
> Hi everybody,
>
> I'm new to the list. As I could not find any relevant info on how to
> make meld ignore multiline-comments like
>
> /*
>
>  * ignorable
>
>  * text
>
> */
>
> I'm asking for help here.

Unfortunately the answer is: it can't. While the filter code in Meld
will happily accept a regex that covers (and removes) multiple lines,
this causes line mismatches between the text the diff sees and the
text that we display, so all of the change blocks will be wrong.

What's needed to make this work is a way of keeping track of what
we've filtered out of the text we give to the diff algorithm, and
adjusting the line offsets that the diff gives us back accordingly.
This probably isn't really hard... it's just fiddly and no one has
ever got around to doing it.

cheers,
Kai
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to