@RequiresEdt
  public void paint(Graphics2D g) {
    myEditor.getSoftWrapModel().prepareToMapping();
    checkFontRenderContext(g.getFontRenderContext());
    myPainter.paint(g);
  }
@RequiresEdt
  public void paint(Graphics2D g)