ITextSelection Properties

 

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

NameDescription
System_CAPS_pubpropertyActivationTracksFocus

Determines whether IsActive should track when the ITextView gains and loses aggregate focus. The default is true.

System_CAPS_pubpropertyActivePoint

Gets the active point of the selection.

System_CAPS_pubpropertyAnchorPoint

Gets the anchor point of the selection.

System_CAPS_pubpropertyEnd

Gets the end point of the selection.

System_CAPS_pubpropertyIsActive

Whether or not the selection is active.

System_CAPS_pubpropertyIsEmpty

Determines whether the selection is zero length.

System_CAPS_pubpropertyIsReversed

Determines whether the active point is Span.Start and the anchor point is Span.End.

System_CAPS_pubpropertyMode

Gets or sets the selection mode.

System_CAPS_pubpropertySelectedSpans

The currently-selected spans.

System_CAPS_pubpropertyStart

Gets the start point of the selection.

System_CAPS_pubpropertyStreamSelectionSpan

Gets the current selection as if it were a stream selection, regardless of the current selection mode.

System_CAPS_pubpropertyTextView

Gets the text view to which this selection belongs.

System_CAPS_pubpropertyVirtualSelectedSpans

The currently-selected spans, as VirtualSnapshotSpan objects.

Return to top
Show: