Returns a new selection with the changed end point.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract Selection SetEndpoint( TextViewPosition endPosition )
Public MustOverride Function SetEndpoint ( _ endPosition As TextViewPosition _ ) As Selection
public: virtual Selection^ SetEndpoint( TextViewPosition endPosition ) abstract
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