IViewScroller::EnsureSpanVisible Method (SnapshotSpan)

 

Ensures that all the text in the specified span is entirely visible in the view.

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

void EnsureSpanVisible(
	SnapshotSpan span
)

Parameters

span
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The span to make visible.

This is equivalent to EnsureSpanVisible(span, EnsureSpanVisibleOptions.None).

Return to top
Show: