Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Compare Editor: difference between the 'next difference' and 'next change' buttons?

Tags:

eclipse

A simple question today...

In the Eclipse compare editor (right click file - compare with...) what is the difference between the 'next difference' and 'next change' buttons? They seem to do exactly the same thing.

Its bugging me!

Thanks

like image 244
Dori Avatar asked Jul 21 '11 09:07

Dori


1 Answers

The Help page for the "compare editor" states:

  • A change is a portion of text that has been modified within the line, and
  • the difference is a section of file consisting of one or more lines, and can contain many changes.

Differences are marked with blue color, changes with red.

Eclipse compare Editor

So if each of the differences are only one change within one line each time... then yes, changes and differences will match exactly.

like image 158
VonC Avatar answered Nov 08 '22 20:11

VonC