Re: gvimdiff can not hightlight correctly the difference in a line

2010-06-24 Thread Ben Fritz
On Jun 23, 10:23 pm, Bram Moolenaar b...@moolenaar.net wrote: You would have to run the diff algorithm on the lines.  It's not as easy as it seem to find a middle part that is equal, since you don't know where to start. It's worse than that. Diff programs as a rule work line by line, and

gvimdiff can not hightlight correctly the difference in a line

2010-06-23 Thread Peng Yu
Suppose that I have the following two lines in two files (each in one file), gvimdiff highlight everything after '=' without knowing that 'sdsafdasfa' is the same in both lines. Is there a way to make gvimdiff be aware of the commonality flanked by two mismatches? i =x.y 19 sdsafdasfa xx i = 19

Re: gvimdiff can not hightlight correctly the difference in a line

2010-06-23 Thread Gary Johnson
On 2010-06-23, Peng Yu wrote: Suppose that I have the following two lines in two files (each in one file), gvimdiff highlight everything after '=' without knowing that 'sdsafdasfa' is the same in both lines. Is there a way to make gvimdiff be aware of the commonality flanked by two mismatches?

Re: gvimdiff can not hightlight correctly the difference in a line

2010-06-23 Thread Peng Yu
On Jun 23, 3:15 pm, Gary Johnson garyj...@spocom.com wrote: On 2010-06-23, Peng Yu wrote: Suppose that I have the following two lines in two files (each in one file), gvimdiff highlight everything after '=' without knowing that 'sdsafdasfa' is the same in both lines. Is there a way to

Re: gvimdiff can not hightlight correctly the difference in a line

2010-06-23 Thread Bram Moolenaar
Yu Peng wrote: On Jun 23, 3:15 pm, Gary Johnson garyj...@spocom.com wrote: On 2010-06-23, Peng Yu wrote: Suppose that I have the following two lines in two files (each in one file), gvimdiff highlight everything after '=' without knowing that 'sdsafdasfa' is the same in both lines.