fputs("\">\n", out);
aIndent--; for (i = aIndent; --i >= 0; ) fputs("  ", out); fputs(">\n", out);  #ifdef NOISY if (nsnull != mWords) { for (i = aIndent; --i >= 0; ) fputs("  ", out); fputs("  @words ", out); PRUint32* wp = mWords; PRInt32 total = mContentLength; while (total != 0) { PRUint32 wordInfo = *wp++; nscoord wordWidth = GET_WORD_WIDTH(wordInfo); PRIntn wordLen = GET_WORD_LENGTH(wordInfo); fprintf(out, "%c-%d-%d ", ((wordInfo & WORD_IS_WORD) ? 'w' : 's'), wordWidth, wordLen); total -= wordLen; NS_ASSERTION(total >= 0, "bad word data"); } fputs("\n", out); } #endif return NS_OK;
void Text::List(FILE* out, PRInt32 aIndent) const{  for (PRInt32 i = aIndent; --i >= 0; ) fputs("  ", out);  fputs("Text", out);  ListAttributes(out);  fprintf(out, " RefCnt=%d<\"", mRefCnt);  nsAutoString tmp;  ToCString(tmp, 0, mLength);  fputs(tmp, out);  fputs("\">\n", out);}