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

Fix missing image for variable and field proposals

This commit is contained in:
Anton Leherbauer 2006-12-19 14:20:30 +00:00
parent e79f0f9edf
commit 0486d0c85a

View file

@ -216,7 +216,8 @@ public class DOMCompletionContributor implements ICompletionContributor {
int repLength = completionNode.getLength();
int repOffset = offset - repLength;
CCompletionProposal proposal = new CCompletionProposal(repString, repOffset, repLength, null, dispString, idString, 1, viewer);
Image image = getImage(variable);
CCompletionProposal proposal = new CCompletionProposal(repString, repOffset, repLength, image, dispString, idString, 1, viewer);
proposals.add(proposal);
}