mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 00:05:53 +02:00
Fix for 236162: Quick Fix functionality does not work in C++ Editor (Ctrl-1)
This commit is contained in:
parent
000b63be83
commit
2a14adcbbc
1 changed files with 3 additions and 2 deletions
|
@ -228,8 +228,9 @@ public class CCorrectionProcessor implements IQuickAssistProcessor {
|
||||||
if (problemLocation != null) {
|
if (problemLocation != null) {
|
||||||
problems.add(problemLocation);
|
problems.add(problemLocation);
|
||||||
}
|
}
|
||||||
} else if (addQuickFixes && curr instanceof SimpleMarkerAnnotation) {
|
}
|
||||||
// don't collect if annotation is already a C annotation
|
if (addQuickFixes && curr instanceof SimpleMarkerAnnotation) {
|
||||||
|
// collect marker proposals
|
||||||
collectMarkerProposals((SimpleMarkerAnnotation) curr, proposals);
|
collectMarkerProposals((SimpleMarkerAnnotation) curr, proposals);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue