@Override
    public void select(@NotNull PsiElement element) {
      TextRange range = getRange(element);
      if (range != null) {
        select(range);
      }
    }
@Override
    public void select(@NotNull PsiElement element)