ITextSelection Methods

Include Protected Members
Include Inherited Members

The ITextSelection type exposes the following members.

Methods

  Name Description
Public method Clear Makes the selection zero length, with a start and end position at the logical end of the current selection.
Public method GetSelectionOnTextViewLine Get the selection on the specified ITextViewLine.
Public method Select(SnapshotSpan, Boolean) Selects the text in the specified selection span.
Public method Select(VirtualSnapshotPoint, VirtualSnapshotPoint) Selects the text between the two VirtualSnapshotPoint objects.

Top

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace