Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (fSelectionHistory != null)
			fSelectionHistory.dispose();
		
		stopBracketHighlighting();
		stopLineHighlighting();
		
		if (fPaintManager != null) {
			fPaintManager.dispose();
			fPaintManager= null;
		}
		
		super.dispose();
	}
	
	/*
	 * @see AbstractTextEditor#createPartControl(Composite)
	 */
	public void createPartControl(Composite parent) {			
		super.createPartControl(parent);
		fPaintManager= new PaintManager(getSourceViewer());
		if (isBracketHighlightingEnabled())
			startBracketHighlighting();
		if (isLineHighlightingEnabled())
			startLineHighlighting();
		if (isShowingPrintMarginEnabled())
			startShowingPrintMargin();
		if (isProblemIndicationEnabled())
			startProblemIndication();
		if (isTabConversionEnabled())