code: public boolean removeLeadingEmptyLines()
      {
          boolean wasEmpty = false;
          Line line = this.lines;
          while (line != null && line.isEmpty)
          {
              this.removeLine(line);
              line = this.lines;
              wasEmpty = true;
          }
          return wasEmpty;
      }
docs: Removes leading empty lines.
  
  @return <code>true</code> if an empty line was removed.