@Override
 public int paint(
     @NotNull Graphics g, @NotNull SoftWrapDrawingType drawingType, int x, int y, int lineHeight) {
   if (!isSoftWrappingEnabled()) {
     return 0;
   }
   return myPainter.paint(g, drawingType, x, y, lineHeight);
 }
 public int doPaint(
     @NotNull Graphics g, @NotNull SoftWrapDrawingType drawingType, int x, int y, int lineHeight) {
   return myPainter.paint(g, drawingType, x, y, lineHeight);
 }