AvalonEdit
HighlightLine Method (document, line)
NamespacesICSharpCode.AvalonEdit.HighlightingHighlightingEngineHighlightLine(IDocument, IDocumentLine)
Highlights the specified line in the specified document. Before calling this method, CurrentSpanStack must be set to the proper state for the beginning of this line. After highlighting has completed, CurrentSpanStack will be updated to represent the state after the line.
Declaration Syntax
C#Visual BasicVisual C++
public HighlightedLine HighlightLine(
	IDocument document,
	IDocumentLine line
)
Public Function HighlightLine ( _
	document As IDocument, _
	line As IDocumentLine _
) As HighlightedLine
public:
HighlightedLine^ HighlightLine(
	IDocument^ document, 
	IDocumentLine^ line
)
Parameters
document (IDocument)
line (IDocumentLine)

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