GetSingleIndentationSegment Method (textSource, offset, indentationSize)
NamespacesICSharpCode.AvalonEdit.DocumentTextUtilitiesGetSingleIndentationSegment(ITextSource, Int32, Int32)
Gets a single indentation segment starting at offset - at most one tab or indentationSize spaces.
Declaration Syntax
C#Visual BasicVisual C++
public static ISegment GetSingleIndentationSegment(
	ITextSource textSource,
	int offset,
	int indentationSize
Public Shared Function GetSingleIndentationSegment ( _
	textSource As ITextSource, _
	offset As Integer, _
	indentationSize As Integer _
) As ISegment
static ISegment^ GetSingleIndentationSegment(
	ITextSource^ textSource, 
	int offset, 
	int indentationSize
textSource (ITextSource)
The text source.
offset (Int32)
The offset where the indentation segment starts.
indentationSize (Int32)
The size of an indentation unit. See IndentationSize.
Return Value
The indentation segment. If there is no indentation character at the specified offset, an empty segment is returned.

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