Skip to content

CompiledTextStudioAppearancePlan

ClassTextStudioTextStudio
public sealed class CompiledTextStudioAppearancePlan

Shared immutable programs and instance-owned source composition. Contains no rendering resources or clocks.

public int GetContributionIndex(int unit)

Returns the contribution index for a semantic unit, or -1 if the unit is outside the plan.

Parameters

NameType
unitSystem.Int32

Returns

System.Int32

public TextStudioAppearanceContribution GetContribution(int index)

Returns the composition contribution at the specified index.

Parameters

NameType
indexSystem.Int32

Returns

TextStudio.TextStudioAppearanceContribution

public CompiledTextStudio2DStyle DefaultStyle { get; }

Returns

TextStudio.CompiledTextStudio2DStyle

public IReadOnlyList<CompiledTextStudio2DStyle> Programs { get; }

Returns

System.Collections.Generic.IReadOnlyList{TextStudio.CompiledTextStudio2DStyle}

public IReadOnlyList<TextStudioAppearanceOccurrence> Occurrences { get; }

Returns

System.Collections.Generic.IReadOnlyList{TextStudio.TextStudioAppearanceOccurrence}

public IReadOnlyList<TextStudioAppearanceDiagnostic> Diagnostics { get; }

Returns

System.Collections.Generic.IReadOnlyList{TextStudio.TextStudioAppearanceDiagnostic}

public int UnitCount { get; }

Returns

System.Int32

public int ContributionCount { get; }

Returns

System.Int32

public bool HasInvocations { get; }

Returns

System.Boolean

public bool IsPassThrough { get; }

Returns

System.Boolean

public bool IsValid { get; }

Returns

System.Boolean

public TextStudioStackFingerprint Fingerprint { get; }

Returns

TextStudio.TextStudioStackFingerprint

public ulong DependencyRevision { get; }

Returns

System.UInt64