Contents
Comparing two files
The text comparison is the heart of it. Both files stand side by side, line for line — and whatever differs has a coloured background. Within a changed line, what has changed is marked character by character as well: you see not just that the line differs but where.
3.1 Reading the colours
Five colours, five meanings:
3.2 Jumping from difference to difference
In long files, searching by hand would be tedious. Above the comparison there are therefore ◀ Previous and Next ▶; both are available as shortcuts too. The view scrolls to the next block and highlights it — both sides always scroll in step, so you can never “scroll apart”.
If the files are identical, the bar reports “Files are identical”; if nothing remains after filtering, it says “No differences” and next to it how many places were classed as “formatting only”.
3.3 The footer
At the bottom you find the tally of the comparison — and on the right, where the caret currently is:
| Item | Meaning |
|---|---|
| “12 removals” | lines present only on the left |
| “8 insertions” | lines present only on the right |
| “5 changes” | lines present on both sides but with different content |
| “3 moved” | lines that merely changed place |
| “7 formatting only” | places the filters consider equal |
| “Line 42 of 380 · column 17” | position of the caret |
3.4 Making the invisible visible
Some differences are simply invisible: a tab instead of four spaces, a space at the end of a line, a line ending in Windows rather than Unix format. The Invisibles filter reveals them — space as ·, tab as → and the line ending as ¶ (CRLF), ↵ (LF) or ⏎ (CR). This shows exactly the places the whitespace and line-ending filters act upon.