Change-Id: I6562648117392aaa670964a629a4154a3707d2a6
removeAllAnnotations();
for(CompilationError error : errors) {
Annotation annotation = new Annotation(
removeAllAnnotations();
for(CompilationError error : errors) {
Annotation annotation = new Annotation(
- error.severity == ErrorSeverity.ERROR ?
+ error.severity == ErrorSeverity.ERROR || error.severity == ErrorSeverity.IMPORT_ERROR ?
"org.eclipse.ui.workbench.texteditor.error" :
"org.eclipse.ui.workbench.texteditor.warning",
true, error.description);
"org.eclipse.ui.workbench.texteditor.error" :
"org.eclipse.ui.workbench.texteditor.warning",
true, error.description);