mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
(no message)
This commit is contained in:
@@ -580,7 +580,7 @@ public class CommentByLineCommentHandler implements CodeInsightActionHandler, Li
|
||||
final PsiElement elementAt = context.getFile().findElementAt(offset1);
|
||||
final XmlTag tag = PsiTreeUtil.getParentOfType(elementAt, XmlTag.class, false);
|
||||
|
||||
if (tag.getName().equals("jsp:scriplet") || tag.getName().equals("jsp:declaration")) {
|
||||
if (tag == null || tag.getName().equals("jsp:scriplet") || tag.getName().equals("jsp:declaration")) {
|
||||
myJavaComment = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user