I would like to compare two sections of a single file, ignoring all else. Specifically, I want to compare two methods in a single c# class file.
I tried opening a text session w/ the same file on either side, then doing an "Align With..." but it didn't work too well. A few lines later it got radically out of synch. I also cut-n-pasted the two methods into their own files and compared. That works, but more manually than I want (I also had to paste mods back into the original).
Is this possible?
Double bonus: Automate launching the session. For example, if I could say "compare file A.cs lines 10-20 with file A.cs lines 25-35".
Thanks for any suggestions you might have.
Josh
I tried opening a text session w/ the same file on either side, then doing an "Align With..." but it didn't work too well. A few lines later it got radically out of synch. I also cut-n-pasted the two methods into their own files and compared. That works, but more manually than I want (I also had to paste mods back into the original).
Is this possible?
Double bonus: Automate launching the session. For example, if I could say "compare file A.cs lines 10-20 with file A.cs lines 25-35".
Thanks for any suggestions you might have.
Josh
Comment