mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Fix for Bug 172200 - Parameter hint proposals formatted incorrectly (patch by Bryan Wilkinson)
This commit is contained in:
parent
6c281424a0
commit
8d30f9ff11
1 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ public class DOMCompletionContributor implements ICompletionContributor {
|
|||
proposal.setCursorPosition(repString.length() - 1);
|
||||
|
||||
if (dispargString.length() > 0) {
|
||||
CProposalContextInformation info = new CProposalContextInformation(repString, dispargString);
|
||||
CProposalContextInformation info = new CProposalContextInformation(image, dispString, dispargString);
|
||||
info.setContextInformationPosition(offset);
|
||||
proposal.setContextInformation(info);
|
||||
}
|
||||
|
@ -273,7 +273,7 @@ public class DOMCompletionContributor implements ICompletionContributor {
|
|||
proposal.setCursorPosition(repString.length() - 1);
|
||||
|
||||
if (argString.length() > 0) {
|
||||
CProposalContextInformation info = new CProposalContextInformation(repString, argString);
|
||||
CProposalContextInformation info = new CProposalContextInformation(image, descString, argString);
|
||||
info.setContextInformationPosition(offset);
|
||||
proposal.setContextInformation(info);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue