Exemplo n.º 1
0
        public TextSnapshot Delete(int index, int amount)
        {
            var newText = _text.Delete(index, amount);

            return(new TextSnapshot(_owner, newText, new TextSnapshotLines(newText)));
            //return new TextSnapshot(_owner, newText, _lines.Delete(index, amount));
        }