public ITextSnapshot Apply()
            {
                _textBuffer.ApplyEdits(_edits.ToArray());
                _edits.Clear();

                return(_textBuffer.CurrentSnapshot);
            }