public static void paintSeparators(@NotNull Graphics2D gg,
                                     int width,
                                     @NotNull Editor editor1,
                                     @NotNull Editor editor2,
                                     @NotNull DividerSeparatorPaintable paintable) {
    ReadAction.run(() -> {
      List<DividerSeparator> polygons = createVisibleSeparators(editor1, editor2, paintable, gg.getClipBounds());

      GraphicsConfig config = GraphicsUtil.setupAAPainting(gg);
      for (DividerSeparator polygon : polygons) {
        polygon.paint(gg, width);
      }
      config.restore();
    });
  }
public static void paintSeparators(@NotNull Graphics2D gg,
                                     int width,
                                     @NotNull Editor editor1,
                                     @NotNull Editor editor2,
                                     @NotNull DividerSeparatorPaintable paintable)