]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "Removed unnecessary oxygen-specific feature"
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 14 Aug 2017 12:39:42 +0000 (15:39 +0300)
committerGerrit Code Review <gerrit2@www.simantics.org>
Mon, 14 Aug 2017 12:39:42 +0000 (15:39 +0300)
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLAnnotationModel.java

index 2a04c41cf1f1169721208c0eabce52ce58c31de2..cbc6d9a0c2ec6fe4e8d923161ff1d93ab715be8c 100644 (file)
@@ -54,7 +54,7 @@ public class SCLAnnotationModel extends AnnotationModel {
             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);