mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] illegal character highlighting restricted to Java (IDEA-CR-10947, IDEA-156731)
This commit is contained in:
+3
-1
@@ -214,7 +214,9 @@ public class HighlightVisitorImpl extends JavaElementVisitor implements Highligh
|
||||
catch (IndexNotReadyException ignored) { }
|
||||
}
|
||||
|
||||
myHolder.add(DefaultHighlightUtil.checkBadCharacter(element));
|
||||
if (!(myFile instanceof ServerPageFile)) {
|
||||
myHolder.add(DefaultHighlightUtil.checkBadCharacter(element));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user