IFormattedLineSource Interface

Definition

Generates formatted line from text snapshots.

public interface IFormattedLineSource

Remarks

For information about formatting, see the "Formatted Text" section of Inside the Editor.

Properties

BaseIndentation

Gets the base indentation (in logical pixels) for all lines generated by this source.

ColumnWidth

Gets the width of a column in pixels.

DefaultTextProperties

Gets the TextRunProperties used to render unclassified text.

LineHeight

Gets the nominal height of a line.

MaxAutoIndent

Gets the maximum auto-indent for wrapped lines.

SourceTextSnapshot

Gets the source text snapshot for which this source will provide formatted text.

TabSize

Gets the number of spaces between each tab stop.

TextAndAdornmentSequencer

Gets the ITextAndAdornmentSequencer used by this source.

TextHeightAboveBaseline

Gets the nominal height of the text above the baseline.

TextHeightBelowBaseline

Gets the nominal height of the text below the baseline.

TopTextSnapshot

Gets the top text snapshot for which this source will provide formatted text.

UseDisplayMode

Determines whether the formatter uses Display for format text.

WordWrapWidth

Gets the width (in logical pixels) where the formatted text will be broken into multiple lines.

Methods

FormatLineInVisualBuffer(ITextSnapshotLine)

Formats the text and adornments in a ITextSnapshotLine.

Applies to