code: public void removeTrailingEmptyLines ()
    {
      Line aLine = m_aLineTail;
      while (aLine != null && aLine.m_bIsEmpty)
      {
        removeLine (aLine);
        aLine = m_aLineTail;
      }
    }
docs: Removes trailing empty lines.