TextSpanHelper Methods
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Clear(TextSpan) | Sets the members of the specified span to an empty state. |
![]() ![]() | ContainsExclusive(TextSpan, Int32, Int32) | Determines whether the given position is contained in the given span, not including the start and end points. |
![]() ![]() | ContainsInclusive(TextSpan, Int32, Int32) | Determines whether the given position is in the span, including the start and end points. |
![]() ![]() | EndsAfterEndOf(TextSpan, TextSpan) | Determines whether the first span ends after the end of the second span. |
![]() ![]() | EndsAfterStartOf(TextSpan, TextSpan) | Determines whether the first span ends after the start of the second span. |
![]() ![]() | EndsBeforeEndOf(TextSpan, TextSpan) | Determines whether the first span ends before the end of the second span. |
![]() ![]() | EndsBeforeStartOf(TextSpan, TextSpan) | Determines whether the first span ends before the start of the second span. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() ![]() | Intersects(TextSpan, TextSpan) | Determines whether the first span intersects the second span. |
![]() ![]() | IsAfterEndOf(TextSpan, Int32, Int32) | Determines whether the given position occurs after the end of the given span. |
![]() ![]() | IsBeforeStartOf(TextSpan, Int32, Int32) | Determines whether the given position occurs before the start of the given span. |
![]() ![]() | IsEmbedded(TextSpan, TextSpan) | Determines whether the first span is wholly contained in the second span. |
![]() ![]() | IsEmpty(TextSpan) | Determines whether the given span is empty. |
![]() ![]() | IsPositive(TextSpan) | Determines whether the start of the given span occurs before the end of the span. |
![]() ![]() | IsSameSpan(TextSpan, TextSpan) | Determines whether two spans are the same. |
![]() ![]() | MakePositive(TextSpan) | Makes the given span positive. |
![]() ![]() | Merge(TextSpan, TextSpan) | Merges the two given spans to create a new span. |
![]() ![]() | Normalize(TextSpan, IVsTextLines^) | Pins the ends of the given span to the actual line lengths in the given text buffer. |
![]() ![]() | StartsAfterEndOf(TextSpan, TextSpan) | Determines whether the first span starts after the end of the second span. |
![]() ![]() | StartsAfterStartOf(TextSpan, TextSpan) | Determines whether the first span starts after the start of the second span. |
![]() ![]() | StartsBeforeEndOf(TextSpan, TextSpan) | Determines whether the first span starts before the end of the second span. |
![]() ![]() | StartsBeforeStartOf(TextSpan, TextSpan) | Determines whether the first span starts before the start of the second span. |
![]() | ToString() | (Inherited from Object.) |
![]() ![]() | ValidCoord(Source^, Int32, Int32) | Determines whether the given position is valid for the given source buffer. |
![]() ![]() | ValidSpan(Source^, TextSpan) | Determines whether the given span lies within the given source buffer. |

