+ diff.main 1 here's how my files are 2 _______________ 3 one 4 two 5 if (one) { 6 some stuff; 7 } 8 9 if (one && two) { 10 some other stuff; 11 } 12 _______________ 13 14 _______________ 15 one 16 two 17 if (one && two ) { 18 some other stuff; 19 } 20 _______________ 21 22 when i take the diff, the diff is as shown below. 23 actually the differnece is from line 5-6 in the first 24 file, its the new if block added, but vim-diff tries to 25 compare line 5-6 of first file with line 17, and shows 26 the diffrences from there on, now i want tell vimdiff 27 to actually try to match line 9 of first file line 17 28 of the second file, so that i can get the correct 29 differences. actually this feature is available in other 30 diff tools like beyondcompare, where one can specify where 31 to start comparing the files. 32 33 one one 34 two two 35 if (one) { | if (one && two ) { 36 some stuff; < 37 } < 38 < 39 if (one && two) { < 40 some other stuff; some other stuff; 41 } } 42 ~ ~
-- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php