Implementation for IReadOnlySectionProvider that stores the segments
in a TextSegmentCollection<(Of <(<'T>)>)>.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class TextSegmentReadOnlySectionProvider<T> : IReadOnlySectionProvider where T : TextSegment
Public Class TextSegmentReadOnlySectionProvider(Of T As TextSegment) _ Implements IReadOnlySectionProvider
generic<typename T> where T : TextSegment public ref class TextSegmentReadOnlySectionProvider : IReadOnlySectionProvider
Generic Template Parameters
- T
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
TextSegmentReadOnlySectionProvider<(Of <(<'T>)>)>(TextDocument) |
Creates a new TextSegmentReadOnlySectionProvider instance for the specified document.
| |
TextSegmentReadOnlySectionProvider<(Of <(<'T>)>)>(TextSegmentCollection<(Of <<'(T>)>>)) |
Creates a new TextSegmentReadOnlySectionProvider instance using the specified TextSegmentCollection.
| |
CanInsert(Int32) |
Gets whether insertion is possible at the specified offset.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetDeletableSegments(ISegment) |
Gets the deletable segments inside the given segment.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Segments |
Gets the collection storing the read-only segments.
| |
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
TextSegmentReadOnlySectionProvider<(Of <(<'T>)>)> |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238