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
- Int32:
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
- ICodeDocument.AddLanguageChangedEventHandler(EventHandler<SyntaxLanguageChangedEventArgs>, EventHandlerPriority)
- ICodeDocument.CreateTagAggregator<T>()
- ICodeDocument.GetServices<TService>()
- ICodeDocument.QueueParseRequest()
- ICodeDocument.RemoveLanguageChangedEventHandler(EventHandler<SyntaxLanguageChangedEventArgs>, EventHandlerPriority)
- ICodeDocument.Language
- ICodeDocument.LanguageData
- ICodeDocument.ParseData
- ICodeDocument.Properties
- ICodeDocument.LanguageChanged
- ICodeDocument.ParseDataChanged
- IParseTarget.NotifyParseComplete(IParseRequest, IParseData)
- IParseTarget.UniqueId
- ITextDocument.AddTextChangedEventHandler(EventHandler<TextSnapshotChangedEventArgs>, EventHandlerPriority)
- ITextDocument.AddTextChangingEventHandler(EventHandler<TextSnapshotChangingEventArgs>, EventHandlerPriority)
- ITextDocument.AppendText(ITextChangeType, String)
- ITextDocument.AppendText(ITextChangeType, String, ITextChangeOptions)
- ITextDocument.CreateTextChange(ITextChangeType)
- ITextDocument.CreateTextChange(ITextChangeType, ITextChangeOptions)
- ITextDocument.DeleteText(ITextChangeType, TextRange)
- ITextDocument.DeleteText(ITextChangeType, TextRange, ITextChangeOptions)
- ITextDocument.DeleteText(ITextChangeType, Int32, Int32)
- ITextDocument.DeleteText(ITextChangeType, Int32, Int32, ITextChangeOptions)
- ITextDocument.InsertText(ITextChangeType, Int32, String)
- ITextDocument.InsertText(ITextChangeType, Int32, String, ITextChangeOptions)
- ITextDocument.LoadFile(String)
- ITextDocument.LoadFile(String, Encoding)
- ITextDocument.LoadFile(Stream, Encoding)
- ITextDocument.IsTextRangeReadOnly(TextRange)
- ITextDocument.RemoveTextChangedEventHandler(EventHandler<TextSnapshotChangedEventArgs>, EventHandlerPriority)
- ITextDocument.RemoveTextChangingEventHandler(EventHandler<TextSnapshotChangingEventArgs>, EventHandlerPriority)
- ITextDocument.ReplaceAll(ISearchOptions)
- ITextDocument.ReplaceAll(ISearchOptions, TextRange[])
- ITextDocument.ReplaceNext(ISearchOptions, Int32, Boolean)
- ITextDocument.ReplaceNext(ISearchOptions, Int32, Boolean, TextRange)
- ITextDocument.ReplaceText(ITextChangeType, TextRange, String)
- ITextDocument.ReplaceText(ITextChangeType, TextRange, String, ITextChangeOptions)
- ITextDocument.ReplaceText(ITextChangeType, Int32, Int32, String)
- ITextDocument.ReplaceText(ITextChangeType, Int32, Int32, String, ITextChangeOptions)
- ITextDocument.SaveFile(String, LineTerminator)
- ITextDocument.SaveFile(String, Encoding, LineTerminator)
- ITextDocument.SaveFile(Stream, Encoding, LineTerminator)
- ITextDocument.SetHeaderAndFooterText(String, String)
- ITextDocument.SetText(String)
- ITextDocument.SetText(ITextChangeType, String)
- ITextDocument.SetText(ITextChangeType, String, ITextChangeOptions)
- ITextDocument.AutoCharacterCasing
- ITextDocument.AutoConvertTabsToSpaces
- ITextDocument.CurrentSnapshot
- ITextDocument.FileName
- ITextDocument.IsModified
- ITextDocument.IsReadOnly
- ITextDocument.TabSize
- ITextDocument.UndoHistory
- ITextDocument.FileNameChanged
- ITextDocument.IsModifiedChanged
- ITextDocument.IsReadOnlyChanged
- ITextDocument.TabSizeChanged
- ITextDocument.TextChanged
- ITextDocument.TextChanging