void (@NotNull Graphics g, @NotNull final Rectangle clip) { if (myLastBackgroundColor != null) { final Point position = myLastBackgroundPosition; final int w = myLastBackgroundWidth; final int height = getLineHeight(); if (clip.intersects(position.x, position.y, w, height)) { g.setColor(myLastBackgroundColor); g.fillRect(position.x, position.y, w, height); } myLastBackgroundColor = null; } }