Re: compare code block(s)




How about having meld be able to detect the movement of blocks of code and show those differences.

I.e. for two files

a               b

blk1            blk2
blk2            blk1

Meld could report a movement rather than one deletion (in file a) and one addition (in file b).



On 07/23/2014 10:59 AM, david kerns wrote:
... ultil they implement a "sync point" ...

I've been able to "help" meld do this by (temporary) inserting some unique text ( e.g. '%%%&&&%%%') in both files ... some times you have to save and reload too


On Wed, Jul 23, 2014 at 5:00 AM, pintuxgu <pintuxgu hoevendesign com> wrote:
I'd also like a feature like this.
Mostly because I have a (bad?) habit of changing the order of functions around in source files, or copying functions between files.

> Is this feature feasible?
A relatively easy way to implement this would be a right click to add a synchronisation point and than let meld search for a similar line in the other file and also add a synchronisation point in that file.

The "ignore the rest" part I can add easily in my own brain. :-)

_______________________________________________
meld-list mailing list
meld-list gnome org
https://mail.gnome.org/mailman/listinfo/meld-list



_______________________________________________
meld-list mailing list
meld-list gnome org
https://mail.gnome.org/mailman/listinfo/meld-list

-- 
    Soli Deo Gloria
    Adam Krolnik
    Director of Design Verification
    VeriSilicon Inc.
    Plano TX. 75074
    Co-author "Assertion-Based Design", "Creating Assertion-Based IP"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]