IProjectionBuffer.SourceSpansChanged Event

 

Raised when source spans are added or deleted.

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

event EventHandler<ProjectionSourceSpansChangedEventArgs> SourceSpansChanged

This event is not raised when the contents of a source span change, for example when a source span becomes empty. When a nonempty span is added or deleted, the SourceBuffersChanged event will be raised first.

The sequence of events is:

  1. SourceBuffersChanged

  2. SourceSpansChanged

  3. Changed.

The SourceSpansChanged event is raised first).

Return to top
Show: