Class CodeCompletionList.TextSpan
Represents a span of the text.
public class CodeCompletionList.TextSpan : ValueObject<CodeCompletionList.TextSpan>
- Inheritance
-
CodeCompletionList.TextSpan
Constructors
- TextSpan(int, int)
Initializes a new instance of the
TextSpan
class with specified parameters.
Properties
- Length
Gets a length of the span.
- Start
Gets a start point of the span.
Methods
- Contains(int)
Determines whether the position lies within the span.
- WithLength(int)
Creates a new TextSpan from existing Start and new length.