AvalonEdit
GetDeletableSegments Method (segment)
NamespacesICSharpCode.AvalonEdit.EditingIReadOnlySectionProviderGetDeletableSegments(ISegment)
Gets the deletable segments inside the given segment.
Declaration Syntax
C#Visual BasicVisual C++
IEnumerable<ISegment> GetDeletableSegments(
	ISegment segment
)
Function GetDeletableSegments ( _
	segment As ISegment _
) As IEnumerable(Of ISegment)
IEnumerable<ISegment^>^ GetDeletableSegments(
	ISegment^ segment
)
Parameters
segment (ISegment)
Remarks
All segments in the result must be within the given segment, and they must be returned in order (e.g. if two segments are returned, EndOffset of first segment must be less than StartOffset of second segment). For replacements, the last segment being returned will be replaced with the new text. If an empty list is returned, no replacement will be done.

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