1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

PR 98765 - removing duplicates from proposal list.

This commit is contained in:
Doug Schaefer 2005-07-06 20:11:34 +00:00
parent cc1b8dbe9e
commit 85294104b3

View file

@ -53,7 +53,7 @@ public class SearchCompletionContributor implements ICompletionContributor {
ICSearchScope scope = SearchEngine.createWorkspaceScope();
// Create the pattern
ICSearchPattern pattern = SearchEngine.createSearchPattern(prefix + "*", ICSearchConstants.UNKNOWN_SEARCH_FOR, ICSearchConstants.ALL_OCCURRENCES, false); //$NON-NLS-1$
ICSearchPattern pattern = SearchEngine.createSearchPattern(prefix + "*", ICSearchConstants.UNKNOWN_SEARCH_FOR, ICSearchConstants.ALL_OCCURRENCES, true); //$NON-NLS-1$
// Run the search
BasicSearchResultCollector collector = new BasicSearchResultCollector();