@ApiStatus.Internal
  public int doPaint(@NotNull Graphics g, @NotNull SoftWrapDrawingType drawingType, int x, int y, int lineHeight) {
    if (!editor.getSettings().isPaintSoftWraps()) {
      return 0;
    }
    return myPainter.paint(g, drawingType, x, y, lineHeight);
  }
@ApiStatus.Internal
  public int doPaint(@NotNull Graphics g, @NotNull SoftWrapDrawingType drawingType, int x, int y, int lineHeight)