public DiffViewLines(DiffViewLine LineOne, DiffViewLine LineTwo) { AddLine(LineOne); AddLine(LineTwo); m_arDiffStartLines = new int[0]; m_arDiffEndLines = new int[0]; }
private void AddLine(DiffViewLine Line) { CheckLongestLength(Line.Text); if (Line.Number >= 0 && Line.Number > m_iMaxLineNumber) { m_iMaxLineNumber = Line.Number; } InnerList.Add(Line); }
public void SetData(DiffViewLine LineOne, DiffViewLine LineTwo) { m_StringList = null; m_Lines = new DiffViewLines(LineOne, LineTwo); UpdateAfterSetData(); }