public int getFirstLineIndexOfModelAt(final int lineYPos) {
    final ZyLineContent lineContent = getLineContent(lineYPos);

    if (lineContent != null) {
      final IZyEditableObject lineModel = lineContent.getLineObject();

      int indexCopy = lineYPos;

      while (--indexCopy >= 0) {
        if (m_content.get(indexCopy).getLineObject() != lineModel) {
          return indexCopy + 1;
        }
      }
    }

    return lineYPos; // - 1
  }
Adds another line add the end of the label content.

@param line The line to add.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/realizers/ZyLabelContent.java