In This Article

IEditorDocument Interface

Provides the base requirements for a code document that has advanced functionality when edited in a code editor.

public interface IEditorDocument : ICodeDocument, IParseTarget, ITextDocument

Properties

IndicatorManager

The IIndicatorManager that manages indicators for the document.

IIndicatorManager IndicatorManager { get; }

Property Value

IIndicatorManager

LineNumberOrigin

The origin line number to use as the base for the first view line.

int LineNumberOrigin { get; set; }

Property Value

int:

The default value is 1.

OutliningManager

The IOutliningManager that manages outlining nodes for the document.

IOutliningManager OutliningManager { get; }

Property Value

IOutliningManager

OutliningMode

The outlining mode for the document that determines what type of code outlining (folding) is supported.

OutliningMode OutliningMode { get; set; }

Property Value

OutliningMode:

The default value is Default.

WhitespaceTrimModes

The modes in which whitespace should be automatically trimmed.

WhitespaceTrimModes WhitespaceTrimModes { get; set; }

Property Value

WhitespaceTrimModes:

The default value is None.

Inherited Members

Extension Methods