AvalonEdit
TextSegmentCollection<(Of <(<'T>)>)> Constructor (textDocument)
NamespacesICSharpCode.AvalonEdit.DocumentTextSegmentCollection<(Of <(<'T>)>)>TextSegmentCollection<(Of <(<'T>)>)>(TextDocument)
Creates a new TextSegmentCollection that updates the offsets automatically.
Declaration Syntax
C#Visual BasicVisual C++
public TextSegmentCollection(
	TextDocument textDocument
)
Public Sub New ( _
	textDocument As TextDocument _
)
public:
TextSegmentCollection(
	TextDocument^ textDocument
)
Parameters
textDocument (TextDocument)
The document to which the text segments that will be added to the tree belong. When the document changes, the position of the text segments will be updated accordingly.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238