AvalonEdit
OnHighlightStateChanged Method (fromLineNumber, toLineNumber)
NamespacesICSharpCode.AvalonEdit.HighlightingDocumentHighlighterOnHighlightStateChanged(Int32, Int32)
Is called when the highlighting state at the end of the specified line has changed.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual void OnHighlightStateChanged(
	int fromLineNumber,
	int toLineNumber
)
Protected Overridable Sub OnHighlightStateChanged ( _
	fromLineNumber As Integer, _
	toLineNumber As Integer _
)
protected:
virtual void OnHighlightStateChanged(
	int fromLineNumber, 
	int toLineNumber
)
Parameters
fromLineNumber (Int32)
toLineNumber (Int32)
Remarks
This callback must not call HighlightLine or InvalidateHighlighting. It may call GetSpanStack, but only for the changed line and lines above. This method must not modify the document.

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