!(e instanceof PsiJavaToken && !(e instanceof PsiKeyword)) &&
canSelectXml(e) &&
!isDocCommentElement(e);
}
public List<TextRange> select(PsiElement e, CharSequence editorText, int cursorOffset, Editor editor) {
<BUG>List<TextRange> result = new ArrayList<TextRange>();</BUG>
final TextRange originalRange = e.getTextRange();
List<TextRange> ranges = expandToWholeLine(editorText, originalRange, true);
if (ranges.size() == 1 && ranges.contains(originalRange)) {
ranges = expandToWholeLine(editorText, originalRange, false);
<BUG>}
result.addAll(ranges);</BUG>
return result;

!(e instanceof PsiJavaToken && !(e instanceof PsiKeyword)) &&
canSelectXml(e) &&
!isDocCommentElement(e);
}
public List<TextRange> select(PsiElement e, CharSequence editorText, int cursorOffset, Editor editor) {
final TextRange originalRange = e.getTextRange();
List<TextRange> ranges = expandToWholeLine(editorText, originalRange, true);
if (ranges.size() == 1 && ranges.contains(originalRange)) {
ranges = expandToWholeLine(editorText, originalRange, false);
