Skip to content

Instantly share code, notes, and snippets.

@controlflow
Created March 17, 2017 14:44
Show Gist options
  • Save controlflow/163d94e19ea0dfe1454a2793463de043 to your computer and use it in GitHub Desktop.
Save controlflow/163d94e19ea0dfe1454a2793463de043 to your computer and use it in GitHub Desktop.
foreach (var pair in myNotClosedTags)
{
consumer.AddHighlighting(new XmlTagIsNotClosedHighlighting2(pair.Value, pair.Key), pair.Key);
}
foreach (var (tags, documentRange) in myNotClosedTags)
{
consumer.AddHighlighting(new XmlTagIsNotClosedHighlighting2(tags, documentRange), documentRange);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment