void (int start, int end) { int oldAnnotationsWidth = maxContentWidth; computeMaxAnnotationWidth(start, end); if (oldAnnotationsWidth != maxContentWidth || myLastPreferredHeight != editor.getPreferredHeight()) { processComponentEvent(new ComponentEvent(this, ComponentEvent.COMPONENT_RESIZED)); } repaint(); }