private DataObject Copy(NormalizedSnapshotSpanCollection spans)
 {
     var text = spans.Aggregate(new StringBuilder(), GetTextWithoutPrompts, b => b.ToString());
     var rtf = _rtfBuilderService.GenerateRtf(spans, _window._textView);
     var data = new DataObject();
     data.SetData(DataFormats.StringFormat, text);
     data.SetData(DataFormats.Text, text);
     data.SetData(DataFormats.UnicodeText, text);
     data.SetData(DataFormats.Rtf, rtf);
     return data;
 }