diff options
Diffstat (limited to 'subprojects/language-ide/src/main')
-rw-r--r-- | subprojects/language-ide/src/main/java/tools/refinery/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subprojects/language-ide/src/main/java/tools/refinery/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java b/subprojects/language-ide/src/main/java/tools/refinery/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java index f64d4066..94a61c4f 100644 --- a/subprojects/language-ide/src/main/java/tools/refinery/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java +++ b/subprojects/language-ide/src/main/java/tools/refinery/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java | |||
@@ -29,7 +29,7 @@ public class ProblemSemanticHighlightingCalculator extends DefaultSemanticHighli | |||
29 | private static final String CONTAINMENT_CLASS = "containment"; | 29 | private static final String CONTAINMENT_CLASS = "containment"; |
30 | private static final String ERROR_CLASS = "error"; | 30 | private static final String ERROR_CLASS = "error"; |
31 | private static final String NODE_CLASS = "node"; | 31 | private static final String NODE_CLASS = "node"; |
32 | private static final String INDIVIDUAL_NODE_CLASS = "individual"; | 32 | private static final String ATOM_NODE_CLASS = "atom"; |
33 | private static final String NEW_NODE_CLASS = "new"; | 33 | private static final String NEW_NODE_CLASS = "new"; |
34 | 34 | ||
35 | @Inject | 35 | @Inject |
@@ -137,10 +137,10 @@ public class ProblemSemanticHighlightingCalculator extends DefaultSemanticHighli | |||
137 | if (reference == ProblemPackage.Literals.VARIABLE_OR_NODE_EXPR__VARIABLE_OR_NODE) { | 137 | if (reference == ProblemPackage.Literals.VARIABLE_OR_NODE_EXPR__VARIABLE_OR_NODE) { |
138 | classesBuilder.add(NODE_CLASS); | 138 | classesBuilder.add(NODE_CLASS); |
139 | } | 139 | } |
140 | if (ProblemUtil.isIndividualNode(node)) { | 140 | if (ProblemUtil.isAtomNode(node)) { |
141 | classesBuilder.add(INDIVIDUAL_NODE_CLASS); | 141 | classesBuilder.add(ATOM_NODE_CLASS); |
142 | } | 142 | } |
143 | if (ProblemUtil.isNewNode(node)) { | 143 | if (ProblemUtil.isMultiNode(node)) { |
144 | classesBuilder.add(NEW_NODE_CLASS); | 144 | classesBuilder.add(NEW_NODE_CLASS); |
145 | } | 145 | } |
146 | } | 146 | } |