static PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr)
PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr)
static PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr){  const T* src = aSrc;  const T* srcEnd = aSrc + inLen;  PRInt32 theCount = 0;  while (src < srcEnd)  {    if (*src == *breakStr)    {      src ++;      if (src < srcEnd && breakStr[1] && *src == breakStr[1])        src ++;      theCount ++;    }    else    {      src ++;    }  }    return theCount;}