Bug 52611 [QuickDiff] Let QuickDiff hovers adapt to horizontal scrollbar
Test Case: - on a long line: make a change such that you have to scroll horizontally to see the change - use QuickDiff -> Hover shows line from its start and does not match the horizontally scrolled text in the editor
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/SourceViewerInformationControl.java
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IInformationControl;
import org.eclipse.jface.text.IInformationControlExtension;
import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.jface.text.source.SourceViewer;
import org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer;
/**
 * Source viewer based implementation of <code>IInformationControl</code>. 
 * Displays information in a source viewer. 
 * 
 * @since 3.0
 */
public class SourceViewerInformationControl implements IInformationControl, IInformationControlExtension, DisposeListener {
	
	
	private static final int BORDER= 1;
	
	private Shell fShell;
	
	private StyledText fText;