Overview Bar

The overview bar is the narrow strip at the right edge of the comparison, next to the scroll bar. It shows the whole comparison at once, from the first line at the top to the last line at the bottom, and marks every place where the two sides differ. One look tells you how many differences there are and where they lie, before you scroll to any of them.

The marks use the colours of the view (set under Options ▸ Colors):

Changed linesthe colour of the differing text inside a changed line
Lines only on the newer sidethe colour of added lines
Lines only on the older sidethe colour of removed lines
Lines you editedthe colour of modified lines
Files not compared yeta pale mark (directory comparison, while the contents are still being compared in the background)

Where a long file puts many lines on one point of the bar, the mark shows the strongest of them, so a single changed line in a file of a hundred thousand lines stays visible. A frame shows which part of the comparison is on the screen; it moves when you scroll.

Moving with the bar

Click a point of the bar to bring that place to the middle of the screen. The view glides there, as after a click into the free area of the scroll bar. Keep the button pressed and drag to move through the comparison; the view then follows the mouse directly.

The bar works in file and in directory comparisons. In a directory comparison it marks the rows that differ, the rows that exist on one side only, and the files whose contents are still being compared.

With Hide Matching Areas the bar shows only the lines that are still displayed — the differences and their margin lines — so every point of the bar leads to a line you can see.

Showing and hiding the bar

View › Overview Bar switches the bar off and on; the setting is remembered. It is on by default. Without the bar the text panes get its width back.

The bar is 14 pixels wide at a display scaling of 100 % and grows with the scaling. The width is chosen when the window is laid out, so after moving the window to a monitor with a different scaling it changes with the next resize. The bar is never printed.