1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

Fix for 236162: Quick Fix functionality does not work in C++ Editor (Ctrl-1)

This commit is contained in:
Anton Leherbauer 2008-06-19 11:25:21 +00:00
parent 000b63be83
commit 2a14adcbbc

View file

@ -228,8 +228,9 @@ public class CCorrectionProcessor implements IQuickAssistProcessor {
if (problemLocation != null) {
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);
}
}