TextStudioAppearanceRange
public readonly struct TextStudioAppearanceRangeA half-open semantic range. Mapping domains remain intact when visible ranges acquire holes.
Constructors
Section titled “Constructors”
TextStudioAppearanceRange(int, int)
Section titled “TextStudioAppearanceRange(int, int)”public TextStudioAppearanceRange(int start, int length)Creates a half-open semantic range from its starting unit and length.
Parameters
| Name | Type |
|---|---|
start |
System.Int32 |
length |
System.Int32 |
Methods
Section titled “Methods”
Contains(int)
Section titled “Contains(int)”public bool Contains(int unit)Returns whether the supplied unit lies within this half-open semantic range.
Parameters
| Name | Type |
|---|---|
unit |
System.Int32 |
Returns
System.Boolean
Properties
Section titled “Properties”
Length
Section titled “Length”public int Length { get; }Returns
System.Int32
public int End { get; }Returns
System.Int32