void (@NotNull DocumentEvent event) { if (linesBefore != event.getDocument().getLineCount() && !event.getDocument().isInBulkUpdate()) { int y = myEditor.logicalPositionToXY(new LogicalPosition(event.getDocument().getLineNumber(event.getOffset()), 0)).y; revalidateComponents(y); } }