madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
944 stars 252 forks source link

Markdown exception #1968

Open alekdavis opened 9 years ago

alekdavis commented 9 years ago

When launching a project with a markdown (README.MD) file open, I get few instances of this exception:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException() at MadsKristensen.EditorExtensions.Markdown.MarkdownClassifier.GetClassificationSpans(SnapshotSpan span) at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTagger.d0.MoveNext() at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.d5.MoveNext()

Using Visual Studio 2013 SP4 (Windows 7, x64).