void (@NotNull Graphics g, int gutterWidth, @NotNull ProperTextRange yRange) { Rectangle clip = new Rectangle(0, yRange.getStartOffset(), gutterWidth, yRange.getLength() + getMinMarkHeight()); paintTrackBasement(g, clip); int startOffset = yPositionToOffset(clip.y - getMinMarkHeight(), true); int endOffset = yPositionToOffset(clip.y + clip.height, false); Shape oldClip = g.getClip(); g.clipRect(clip.x, clip.y, clip.width, clip.height); drawErrorStripeMarkers(g, startOffset, endOffset); g.setClip(oldClip); }