GetColorStack Method (lineNumber)
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
lineNumber (Int32)
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: