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
- 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, int, int)
- ITextDocument.DeleteText(ITextChangeType, int, int, ITextChangeOptions)
- ITextDocument.InsertText(ITextChangeType, int, string)
- ITextDocument.InsertText(ITextChangeType, int, 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, params TextRange[])
- ITextDocument.ReplaceNext(ISearchOptions, int, bool)
- ITextDocument.ReplaceNext(ISearchOptions, int, bool, TextRange)
- ITextDocument.ReplaceText(ITextChangeType, TextRange, string)
- ITextDocument.ReplaceText(ITextChangeType, TextRange, string, ITextChangeOptions)
- ITextDocument.ReplaceText(ITextChangeType, int, int, string)
- ITextDocument.ReplaceText(ITextChangeType, int, int, 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