Skip to content
ChartForgeX
Class

VisualStorySourceSurface

ChartForgeX.Stories

Namespace
ChartForgeX.Stories
Assembly
ChartForgeX.Stories
Modifiers
sealed

Displays exact source text with optional renderer-neutral syntax spans.

Inheritance

Constructors

VisualStorySourceSurface 2 overloads
public VisualStorySourceSurface(StorySourceText source, string? caption = null, VisualStorySourceOptions? options = null) #

Initializes a source surface, including an empty editor document.

Parameters

source ChartForgeX.Stories.StorySourceText required
caption string? = null optional
options ChartForgeX.Stories.VisualStorySourceOptions? = null optional
public VisualStorySourceSurface(StorySourceTimeline timeline, string? caption = null, VisualStorySourceOptions? options = null) #

Initializes an animated editor from resolved source edits.

Parameters

timeline ChartForgeX.Stories.StorySourceTimeline required
caption string? = null optional
options ChartForgeX.Stories.VisualStorySourceOptions? = null optional

Properties

public StorySourceText Source { get; } #

Gets the exact source and semantic syntax spans.

public VisualStorySourceOptions? Options { get; } #

Gets optional readable editor viewport settings.

public StorySourceTimeline? Timeline { get; } #

Gets optional authored editing playback.

public override string AccessibleText { get; } #

Gets accessibility text derived from the current source metadata.