@Override
  public List<TextRange> select(@NotNull PsiElement e, @NotNull CharSequence editorText, int cursorOffset, @NotNull Editor editor) {
    List<TextRange> textRange = addNextComma(e, cursorOffset);
    if (textRange.equals(Collections.emptyList())) return addPreviousComma(e, cursorOffset);
    else return textRange;
  }
@Override
  public List<TextRange> select(@NotNull PsiElement e, @NotNull CharSequence editorText, int cursorOffset, @NotNull Editor editor)