EnsureSpanVisibleOptions Enumeration

 

Options to control the behavior of the EnsureSpanVisible method.

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

[FlagsAttribute]
public enum EnsureSpanVisibleOptions

Member nameDescription
AlwaysCenter

Always center the span in the view.

MinimumScroll

Do the minimum amount of scrolling to display the span in the view.

None

Ensure that the end of the span is visible if it is impossible to display the entire span. If none of the text in the span is currently visible, center the span in the view.

ShowStart

Ensure that the start of the span is visible if it is impossible to display the entire span.

Return to top
Show: