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
private BracketPainter fBracketPainter;
	
	private LinePainter fLinePainter;
	
	private PrintMarginPainter fPrintMarginPainter;
	
	private ProblemPainter fProblemPainter;
	
	private TabConverter fTabConverter;
	
	private SelectionHistory fSelectionHistory;
	
	
	 CompositeActionGroup fStandardActionGroups;
	
	/**
	 * Creates a new compilation unit editor.
	 */
	public CompilationUnitEditor() {
		super();
		setDocumentProvider(JavaPlugin.getDefault().getCompilationUnitDocumentProvider());
		setEditorContextMenuId("#CompilationUnitEditorContext"); 
		setRulerContextMenuId("#CompilationUnitRulerContext"); 
		setOutlinerContextMenuId("#CompilationUnitOutlinerContext"); 
		setHelpContextId(IJavaHelpContextIds.COMPILATION_UNIT_EDITOR);
		fSavePolicy= null;
			
		fJavaEditorErrorTickUpdater= new JavaEditorErrorTickUpdater(this);
	}