Gets the span stack at the end of the specified line.
-> GetSpanStack(1) returns the spans at the start of the second line.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public ImmutableStack<HighlightingSpan> GetSpanStack( int lineNumber )
Public Function GetSpanStack ( _ lineNumber As Integer _ ) As ImmutableStack(Of HighlightingSpan)
public: ImmutableStack<HighlightingSpan^>^ GetSpanStack( int lineNumber )
Parameters
- lineNumber (Int32)
Remarks
GetSpanStack(0) is valid and will return InitialSpanStack.
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