AvalonEdit
GetLeadingWhitespace Method (document, documentLine)
NamespacesICSharpCode.AvalonEdit.DocumentTextUtilitiesGetLeadingWhitespace(TextDocument, DocumentLine)
Gets the leading whitespace segment on the document line.
Declaration Syntax
C#Visual BasicVisual C++
public static ISegment GetLeadingWhitespace(
	TextDocument document,
	DocumentLine documentLine
)
Public Shared Function GetLeadingWhitespace ( _
	document As TextDocument, _
	documentLine As DocumentLine _
) As ISegment
public:
static ISegment^ GetLeadingWhitespace(
	TextDocument^ document, 
	DocumentLine^ documentLine
)
Parameters
document (TextDocument)
documentLine (DocumentLine)

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