IClassifier.ClassificationChanged Event


Ocurs when the classification of a span of text has changed.

Namespace:   Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

event EventHandler<ClassificationChangedEventArgs> ClassificationChanged

This event does not need to be raised for newly-inserted text. However, it should be raised if any text other than that which was actually inserted has been reclassified. It should also be raised if the deletion of text causes the remaining text to be reclassified.

Return to top