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 Basic | Visual 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