TextStudioTimingContext
public readonly struct TextStudioTimingContextAllocation-free semantic context supplied to custom reveal timing assets.
Methods
Section titled “Methods”
GetResolvedCharacter(int)
Section titled “GetResolvedCharacter(int)”public char GetResolvedCharacter(int offset)Gets a character relative to the current resolved unit, or a null character outside the transient plan.
Parameters
| Name | Type |
|---|---|
offset |
System.Int32 |
Returns
System.Char
Properties
Section titled “Properties”
public TextStudioPlanView Plan { get; }Returns
TextStudio.TextStudioPlanView
UnitIndex
Section titled “UnitIndex”public int UnitIndex { get; }Returns
System.Int32
WordIndex
Section titled “WordIndex”public int WordIndex { get; }Returns
System.Int32
LineIndex
Section titled “LineIndex”public int LineIndex { get; }Returns
System.Int32
ParagraphIndex
Section titled “ParagraphIndex”public int ParagraphIndex { get; }Returns
System.Int32
ResolvedStart
Section titled “ResolvedStart”public int ResolvedStart { get; }Returns
System.Int32
ResolvedLength
Section titled “ResolvedLength”public int ResolvedLength { get; }Returns
System.Int32
PreviousUnitIndex
Section titled “PreviousUnitIndex”public int PreviousUnitIndex { get; }Returns
System.Int32
NextUnitIndex
Section titled “NextUnitIndex”public int NextUnitIndex { get; }Returns
System.Int32
IsFirstUnit
Section titled “IsFirstUnit”public bool IsFirstUnit { get; }Returns
System.Boolean
IsLastUnit
Section titled “IsLastUnit”public bool IsLastUnit { get; }Returns
System.Boolean
IsLastVisibleUnit
Section titled “IsLastVisibleUnit”public bool IsLastVisibleUnit { get; }Returns
System.Boolean
IsWhiteSpace
Section titled “IsWhiteSpace”public bool IsWhiteSpace { get; }Returns
System.Boolean
IsLineBreak
Section titled “IsLineBreak”public bool IsLineBreak { get; }Returns
System.Boolean
IsPunctuation
Section titled “IsPunctuation”public bool IsPunctuation { get; }Returns
System.Boolean
IsInstant
Section titled “IsInstant”public bool IsInstant { get; }Returns
System.Boolean
ResolvedText
Section titled “ResolvedText”public string ResolvedText { get; }Returns
System.String
PrimaryCharacter
Section titled “PrimaryCharacter”public char PrimaryCharacter { get; }Returns
System.Char