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:
parent
e79f0f9edf
commit
0486d0c85a
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue