return true;
}
@Override
public TextRange surroundElements(@NotNull Project project, @NotNull Editor editor, @NotNull PsiElement[] elements)
throws IncorrectOperationException {
<BUG>if (elements.length == 0) return null;
Language language = elements[0].getContainingFile().getLanguage();
</BUG>
Commenter commenter = LanguageCommenters.INSTANCE.forLanguage(language);
if (commenter == null) return null;

return true;
}
@Override
public TextRange surroundElements(@NotNull Project project, @NotNull Editor editor, @NotNull PsiElement[] elements)
throws IncorrectOperationException {
if (elements.length == 0) return null;
PsiElement firstElement = elements[0];
PsiElement lastElement = elements[elements.length - 1];
PsiFile psiFile = firstElement.getContainingFile();
Language language = psiFile.getLanguage();
Commenter commenter = LanguageCommenters.INSTANCE.forLanguage(language);
if (commenter == null) return null;
