@Override
    public void setTextAttributes(@NotNull SimpleTextAttributes attributes) {
      synchronized (myFragments) {
        myFragments.get(myIndex).attributes = attributes;
      }
    }
@Override
    public void setTextAttributes(@NotNull SimpleTextAttributes attributes)