addRangeElem(result, editorText, field.getModifierList(), range.getEndOffset());
result.addAll(expandToWholeLine(editorText, range));
return result;
}
}
<BUG>static class JavaTokenSelectioner extends BasicSelectioner {
</BUG>
public boolean canSelect(PsiElement e) {
<BUG>return e instanceof PsiJavaToken && !(e instanceof PsiKeyword);
}</BUG>
public List<TextRange> select(PsiElement e, CharSequence editorText, int cursorOffset, Editor editor) {

addRangeElem(result, editorText, field.getModifierList(), range.getEndOffset());
result.addAll(expandToWholeLine(editorText, range));
return result;
}
}
private static class JavaTokenSelectioner extends BasicSelectioner {
public boolean canSelect(PsiElement e) {
return e instanceof PsiJavaToken && !(e instanceof PsiKeyword) && !(e.getParent()instanceof PsiCodeBlock);
}
