Exemplo n.º 1
0
 public ChangeTextAction(DiffEditBox left, DiffEditBox right,
                         DiffSnapshot beforeLeft, DiffSnapshot afterLeft,
                         DiffSnapshot beforeRight, DiffSnapshot afterRight)
 {
     _left        = left;
     _right       = right;
     _beforeLeft  = beforeLeft;
     _beforeRight = beforeRight;
     _afterLeft   = afterLeft;
     _afterRight  = afterRight;
 }
Exemplo n.º 2
0
        public object Clone()
        {
            DiffSnapshot res = new DiffSnapshot(_lines, _cursor, _selection, _lineIndex, _columnIndex, _modified, _synched);

            return(res);
        }