File tree Expand file tree Collapse file tree
src/de/halirutan/mathematica/codeinsight/highlighting Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 <id >de.halirutan.mathematica</id >
33 <name >Mathematica Support</name >
44 <category >Custom Language</category >
5- <version >2.0.10 </version >
5+ <version >2.0.11 </version >
66 <idea-version since-build =" 163.7743.44" />
77 <vendor email =" patrick@halirutan.de" url =" http://mathematicaplugin.halirutan.de" >Patrick Scheibe</vendor >
88 <depends >com.intellij.modules.lang</depends >
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public void visitStringifiedSymbol(final StringifiedSymbol stringifiedSymbol) {
150150 public void visitMessageName (final MessageName messageName ) {
151151 final StringifiedSymbol tag = messageName .getTag ();
152152 TextAttributesKey color = MathematicaSyntaxHighlighterColors .MESSAGE ;
153- if ("usage" .equals (tag .getText ())) {
153+ if (tag != null && "usage" .equals (tag .getText ())) {
154154 color = MathematicaSyntaxHighlighterColors .USAGE_MESSAGE ;
155155 }
156156 final ASTNode [] children = messageName .getNode ().getChildren (null );
You can’t perform that action at this time.
0 commit comments