AvalonEdit
GetColorStack Method (lineNumber)
NamespacesICSharpCode.AvalonEdit.HighlightingIHighlighterGetColorStack(Int32)
Gets the stack of active colors (the colors associated with the active spans) at the end of the specified line. -> GetColorStack(1) returns the colors at the start of the second line.
Declaration Syntax
C#Visual BasicVisual C++
IEnumerable<HighlightingColor> GetColorStack(
	int lineNumber
)
Function GetColorStack ( _
	lineNumber As Integer _
) As IEnumerable(Of HighlightingColor)
IEnumerable<HighlightingColor^>^ GetColorStack(
	int lineNumber
)
Parameters
lineNumber (Int32)
Remarks
GetColorStack(0) is valid and will return the empty stack. The elements are returned in inside-out order (first element of result enumerable is the color of the innermost span).

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