IProjectionBuffer.SourceSpansChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when source spans are added or deleted. It 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) ITextBuffer.Changed. The SourceSpansChanged event is raised first).
public:
event EventHandler<Microsoft::VisualStudio::Text::Projection::ProjectionSourceSpansChangedEventArgs ^> ^ SourceSpansChanged;
event EventHandler<Microsoft.VisualStudio.Text.Projection.ProjectionSourceSpansChangedEventArgs> SourceSpansChanged;
member this.SourceSpansChanged : EventHandler<Microsoft.VisualStudio.Text.Projection.ProjectionSourceSpansChangedEventArgs>
Event SourceSpansChanged As EventHandler(Of ProjectionSourceSpansChangedEventArgs)
Event Type
Remarks
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:
The SourceSpansChanged event is raised first).