@TestOnly
 public void setSoftWrapPainter(SoftWrapPainter painter) {
   myPainter = painter;
   myApplianceManager.setSoftWrapPainter(painter);
   myVisualSizeManager.setSoftWrapPainter(painter);
 }
 public boolean addVisualSizeChangeListener(@NotNull VisualSizeChangeListener listener) {
   return myVisualSizeManager.addVisualSizeChangeListener(listener);
 }