@Override
  void doUpdate() {
    myWidthInPixels = myRenderer.calcWidthInPixels(this);
    if (myWidthInPixels < 0) {
      throw PluginException.createByClass("Non-negative width should be defined for a block element by " + myRenderer, null,
                                          myRenderer.getClass());
    }
    int oldHeightInPixels = myHeightInPixels;
    myHeightInPixels = myRenderer.calcHeightInPixels(this);
    if (oldHeightInPixels != myHeightInPixels) getTree().valueUpdated(this);
    if (myHeightInPixels < 0) {
      throw PluginException.createByClass("Non-negative height should be defined for a block element by " + myRenderer, null,
                                          myRenderer.getClass());
    }
    myGutterIconRenderer = myRenderer.calcGutterIconRenderer(this);
  }
@Override
  void doUpdate()