Bug 64504 "Foreground color for potential matches" preference has no effect
I20040528-0010: Preferences > Search > Foreground color for potential matches The color preference has no effect on potential matches in the search results view. Potential matches are always black. P.S. A quick way to generate a potential match: - file a/A.java: package a; public class A { B b; } - file b/B.java package b; public class B{} - search for references to b.B
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
if (fContentProvider != null)
			fContentProvider.clear();
	}
	protected void configureTableViewer(TableViewer viewer) {
		viewer.setUseHashlookup(true);
		viewer.setLabelProvider(new DecoratingLabelProvider(new SortingLabelProvider(this), PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator()));
		fContentProvider=new JavaSearchTableContentProvider(this);
		viewer.setContentProvider(fContentProvider);
		setSortOrder(fCurrentSortOrder);
	}
	protected void configureTreeViewer(TreeViewer viewer) {
		viewer.setUseHashlookup(true);
		viewer.setSorter(new ViewerSorter());
		viewer.setLabelProvider(new DecoratingLabelProvider(new PostfixLabelProvider(this), PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator()));
		fContentProvider= new LevelTreeContentProvider(this, fCurrentGrouping);
		viewer.setContentProvider(fContentProvider);
	}
	
	protected TreeViewer createTreeViewer(Composite parent) {
		return new ProblemTreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
	}
	
	class MyProblemTable extends ProblemTableViewer {
		MyProblemTable(Composite parent, int flags) {
			super(parent, flags);
		}
	
		protected void internalRefresh(Object element, boolean updateLabels) {
			if (element == null || equals(element, getRoot())) {