void select(@NotNull String pattern) {
      for (int i = 0; i < myList.getItemsCount(); i++) {
        Pair<FileNameMatcher, Language> at = myList.getModel().getElementAt(i);
        if (at.first.acceptsCharSequence(pattern)) {
          ScrollingUtil.selectItem(myList, i);
          return;
        }
      }
    }
void select(@NotNull String pattern)