Пример #1
0
        public DiffViewLines(DiffViewLine LineOne, DiffViewLine LineTwo)
        {
            AddLine(LineOne);
            AddLine(LineTwo);

            m_arDiffStartLines = new int[0];
            m_arDiffEndLines = new int[0];
        }
Пример #2
0
        private void AddLine(DiffViewLine Line)
        {
            CheckLongestLength(Line.Text);

            if (Line.Number >= 0 && Line.Number > m_iMaxLineNumber)
            {
                m_iMaxLineNumber = Line.Number;
            }

            InnerList.Add(Line);
        }
Пример #3
0
 public void SetData(DiffViewLine LineOne, DiffViewLine LineTwo)
 {
     m_StringList = null;
     m_Lines = new DiffViewLines(LineOne, LineTwo);
     UpdateAfterSetData();
 }