mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed a regression in previous update to CCompletionProcessor, easily discovered through running the JUnit suite.
This commit is contained in:
parent
c07a9f8750
commit
bafd80d00c
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ public class CCompletionProcessor implements IContentAssistProcessor {
|
||||||
addProposalsFromSearch(fCurrentCompletionNode, completions);
|
addProposalsFromSearch(fCurrentCompletionNode, completions);
|
||||||
addProposalsFromCompletionContributors(fCurrentCompletionNode, completions);
|
addProposalsFromCompletionContributors(fCurrentCompletionNode, completions);
|
||||||
addProposalsFromTemplates(viewer, fCurrentCompletionNode, completions);
|
addProposalsFromTemplates(viewer, fCurrentCompletionNode, completions);
|
||||||
return (ICCompletionProposal[]) completions.toArray(new ICCompletionProposal[0]);
|
return order( (ICCompletionProposal[]) completions.toArray(new ICCompletionProposal[0]));
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue