Summary: | Extra/missing parameter hint proposals | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] CDT | Reporter: | Bryan Wilkinson <bryan2233> | ||||
Component: | cdt-core | Assignee: | Bryan Wilkinson <bryan2233> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | Keywords: | contributed | ||||
Version: | 4.0 | ||||||
Target Milestone: | 4.0 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Bryan Wilkinson
2007-01-30 13:41:54 EST
Created attachment 57830 [details]
patch to LegacyCompletionProposalComputer
The LegacyCompletionProposalComputer generates context information inside the parentheses of a function by reusing content assist before the parentheses of the function. So, it needs to calculate a new offset for the code completion.
This patch fixes the calculation of the new offset, which was off by one and didn't handle whitespace.
Good catch! Patch applied. Thanks, Bryan. |