void (@NotNull Graphics2D gg, int width, @NotNull Editor editor1, @NotNull Editor editor2, @NotNull DividerSeparatorPaintable paintable) { ReadAction.run(() -> { List<DividerSeparator> polygons = createVisibleSeparators(editor1, editor2, paintable); GraphicsConfig config = GraphicsUtil.setupAAPainting(gg); for (DividerSeparator polygon : polygons) { polygon.paint(gg, width); } config.restore(); }); }