void (int y) { Rectangle visibleArea = getScrollingModel().getVisibleArea(); int yEndLine = visibleArea.y + visibleArea.height; myEditorComponent.repaintEditorComponent(visibleArea.x, y, visibleArea.x + visibleArea.width, yEndLine - y); myGutterComponent.repaint(0, y, myGutterComponent.getWidth(), yEndLine - y); myMarkupModel.repaint(); }