Returns a new selection with the changed end point.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override Selection SetEndpoint( TextViewPosition endPosition )
Public Overrides Function SetEndpoint ( _ endPosition As TextViewPosition _ ) As Selection
public: virtual Selection^ SetEndpoint( TextViewPosition endPosition ) override
Parameters
- endPosition (TextViewPosition)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Cannot set endpoint for empty selection |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238