1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
John Camelon 2004-04-06 19:41:20 +00:00
parent 44446f5bc9
commit c151c0d972
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2004-04-06 John Camelon
Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=51993
2004-04-06 Alain Magloire 2004-04-06 Alain Magloire
Bug fixes and support for external headers. Bug fixes and support for external headers.

View file

@ -459,9 +459,10 @@ public class CompletionEngine implements RelevanceConstants {
ILookupResult result = null; ILookupResult result = null;
// lookup fields and methods with the right visibility // lookup fields and methods with the right visibility
IASTNode.LookupKind[] kinds = new IASTNode.LookupKind[2]; IASTNode.LookupKind[] kinds = new IASTNode.LookupKind[3];
kinds[0] = IASTNode.LookupKind.FIELDS; kinds[0] = IASTNode.LookupKind.FIELDS;
kinds[1] = IASTNode.LookupKind.METHODS; kinds[1] = IASTNode.LookupKind.METHODS;
kinds[2] = IASTNode.LookupKind.ENUMERATORS;
result = lookup (searchNode, completionNode.getCompletionPrefix(), kinds, completionNode.getCompletionContext()); result = lookup (searchNode, completionNode.getCompletionPrefix(), kinds, completionNode.getCompletionContext());
addToCompletions (result); addToCompletions (result);
} }