SideBySide2: Fix up first line handling in scroll synchronizer

When a line is inserted at the start of the file the A side inserts a
padding widget above the line.  CM3 doesn't always include this widget
height in the heightAtLine() computation on the A side, causing the
files to become unaligned after scrolling down and then back up.

Special case the 0th line in the editors by assuming these will be
aligned at the very top of the page on either side and just use pixel
coordinates.

Change-Id: I91f7d8afe89fa7c22ec4dcf385d24a4a8d284421
1 file changed