Bug 128070 [implementation] Check usage of CustomSourceInformationControl
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/CustomSourceInformationControl.java
*******************************************************************************/
package org.eclipse.jdt.internal.ui.text;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.text.Assert;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.ITextViewerExtension;
import org.eclipse.jdt.ui.text.IJavaPartitions;
import org.eclipse.jdt.internal.ui.text.java.hover.SourceViewerInformationControl;
/**
 * Source viewer used to display quick diff hovers.
 *
 * @since 3.0
 */
public class CustomSourceInformationControl extends SourceViewerInformationControl {
	
	private static final String SYMBOLIC_FONT_NAME= "org.eclipse.jdt.ui.editors.textfont"; 
	
	int fMaxWidth= Integer.MAX_VALUE;
	
	int fMaxHeight= Integer.MAX_VALUE;