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

Gets the IIndicatorManager that manages indicators for the document.

IIndicatorManager IndicatorManager { get; }

Property Value

IIndicatorManager:

The IIndicatorManager that manages indicators for the document.

LineNumberOrigin

Gets or sets the origin line number to use as the base for the first view line.

int LineNumberOrigin { get; set; }

Property Value

int:

The origin line number to use as the base for the first view line. The default value is 1.

OutliningManager

Gets the IOutliningManager that manages outlining nodes for the document.

IOutliningManager OutliningManager { get; }

Property Value

IOutliningManager:

The IOutliningManager that manages outlining nodes for the document.

OutliningMode

Gets or sets the OutliningMode for the document that determines what type of code outlining (folding) is supported.

OutliningMode OutliningMode { get; set; }

Property Value

OutliningMode:

The OutliningMode for the document that determines what type of code outlining (folding) is supported. The default value is OutliningMode.Default.

WhitespaceTrimModes

Gets or sets the modes in which whitespace should be automatically trimmed.

WhitespaceTrimModes WhitespaceTrimModes { get; set; }

Property Value

WhitespaceTrimModes:

A WhitespaceTrimModes indicating the modes in which whitespace should be automatically trimmed. The default value is None.

Inherited Members