diff --git a/src/CopyAsHtml/CopyAsHtml/FormattedStringBuilder.cs b/src/CopyAsHtml/CopyAsHtml/FormattedStringBuilder.cs index 8968f3a..2ce5d6f 100644 --- a/src/CopyAsHtml/CopyAsHtml/FormattedStringBuilder.cs +++ b/src/CopyAsHtml/CopyAsHtml/FormattedStringBuilder.cs @@ -97,19 +97,8 @@ private void Append(string text) _stringBuilder.Append(text); } - private IList GetClassificationSpansSync(SnapshotSpan parentSpan) { - IAccurateClassifier accurateClassifier = _classifier as IAccurateClassifier; - - if (accurateClassifier != null && _waitIndicator != null) - { - using (var waitContext = WaitHelper.Wait(_waitIndicator, "HTML Copy", "Formatting document for copying")) - { - return accurateClassifier.GetAllClassificationSpans(parentSpan, waitContext.CancellationToken); - } - } - return _classifier.GetClassificationSpans(parentSpan); }