示例#1
0
        private void AddChar(char c)
        {
            AddCharOperation addCharOperation = new AddCharOperation(_textBuffer, c);

            _undoBuffer.Add(addCharOperation);
            addCharOperation.Do();
        }
示例#2
0
 private void AddChar(char c)
 {
     AddCharOperation addCharOperation = new AddCharOperation(_textBuffer, c);
       _undoBuffer.Add(addCharOperation);
       addCharOperation.Do();
 }