Class HighlightedSource

Namespace
Pixie.Markup
Assembly
Pixie.dll

A block that renders a highlighted region of source code.

public sealed class HighlightedSource : Block
Inheritance
HighlightedSource
Inherited Members

Constructors

HighlightedSource(SourceRegion)

Creates a highlighted source block that focuses on a single region.

public HighlightedSource(SourceRegion focusRegion)

Parameters

focusRegion SourceRegion

The source region to focus on and highlight.

HighlightedSource(SourceRegion, SourceRegion)

Creates a highlighted source block.

public HighlightedSource(SourceRegion highlightedRegion, SourceRegion focusRegion)

Parameters

highlightedRegion SourceRegion

The source region to highlight.

focusRegion SourceRegion

The source region to focus on.

Properties

FocusRegion

Gets the source region to focus on.

public SourceRegion FocusRegion { get; }

Property Value

SourceRegion

HighlightedRegion

Gets the source region to highlight.

public SourceRegion HighlightedRegion { get; }

Property Value

SourceRegion

HighlightedSpan

Gets the bounding span of the highlighted region.

public SourceSpan HighlightedSpan { get; }

Property Value

SourceSpan

Methods

Lower()

Lowers this highlighted source block to simpler markup.

public override Block Lower()

Returns

Block

The lowered block markup.