ITextViewLine::IntersectsBufferSpan Method (SnapshotSpan)

 

Determines whether a bufferSpan intersects this text line.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool IntersectsBufferSpan(
	SnapshotSpan bufferSpan
)

Parameters

bufferSpan
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The buffer span.

Return Value

Type: System::Boolean

true if bufferSpan intersects the text line, otherwise false.

This method handles the special processing required for the last line of the buffer.

Return to top
Show: