void (@NotNull Inlay<?> inlay, int changeFlags) { if (myEditor.getDocument().isInBulkUpdate() || myEditor.getInlayModel().isInBatchMode() || (changeFlags & (InlayModel.ChangeFlags.WIDTH_CHANGED | InlayModel.ChangeFlags.HEIGHT_CHANGED)) == 0) { return; } if (inlay.getPlacement() != Inlay.Placement.AFTER_LINE_END || hasCaretInVirtualSpace()) { updateVisualPosition(); } }