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 (matchFilterCount > 0) {
			if (isQueryRunning()) {
				String message= SearchMessages.getString("JavaSearchResultPage.filtered.message"); 
				return MessageFormat.format(message, new Object[] { label });
			
			} else {
				String message= SearchMessages.getString("JavaSearchResultPage.filteredWithCount.message"); 
				return MessageFormat.format(message, new Object[] { label, new Integer(getFilteredMatchCount()) });
			}
		}
		return label;
	}
	private int getMatchFiltersCount() {
		MatchFilter[] filters= getMatchFilters();
		AbstractTextSearchResult result= getInput();
		if (result == null)
			return 0;
		int filterCount= 0;
		for (int i= 0; i < filters.length; i++) {
			if (filters[i].isApplicable((JavaSearchQuery) result.getQuery()))
				filterCount++;
		}
		return filterCount;
	}
	private int getFilteredMatchCount() {
		AbstractTextSearchResult result= getInput();
		if (result == null)
			return 0;
		Object[] elements= result.getElements();
		int count= 0;