printf("print DOMRANGE \t start: %x %i, \t end: %x,%i \n",(nsIDOMNode *)startNode, startOffset,(nsIDOMNode *)endNode, endOffset);
printf("print DOMRANGE 0x%x\t start: 0x%x %ld, \t end: 0x%x,%ld \n", aDomRange,(nsIDOMNode *)startNode, (long)startOffset, (nsIDOMNode *)endNode, (long)endOffset);
void printRange(nsIDOMRange *aDomRange){  if (!aDomRange)  {    printf("NULL nsIDOMRange\n");  }  nsCOMPtr<nsIDOMNode> startNode;  nsCOMPtr<nsIDOMNode> endNode;  PRInt32 startOffset;  PRInt32 endOffset;  aDomRange->GetStartParent(getter_AddRefs(startNode));  aDomRange->GetStartOffset(&startOffset);  aDomRange->GetEndParent(getter_AddRefs(endNode));  aDomRange->GetEndOffset(&endOffset);  printf("print DOMRANGE \t start: %x %i, \t end: %x,%i \n",(nsIDOMNode *)startNode, startOffset,(nsIDOMNode *)endNode, endOffset);}