AvalonEdit
ChangeLinePart Method (startOffset, endOffset, action)
NamespacesICSharpCode.AvalonEdit.RenderingDocumentColorizingTransformerChangeLinePart(Int32, Int32, Action<(Of <<'(VisualLineElement>)>>))
Changes a part of the current document line.
Declaration Syntax
C#Visual BasicVisual C++
protected void ChangeLinePart(
	int startOffset,
	int endOffset,
	Action<VisualLineElement> action
)
Protected Sub ChangeLinePart ( _
	startOffset As Integer, _
	endOffset As Integer, _
	action As Action(Of VisualLineElement) _
)
protected:
void ChangeLinePart(
	int startOffset, 
	int endOffset, 
	Action<VisualLineElement^>^ action
)
Parameters
startOffset (Int32)
Start offset of the region to change
endOffset (Int32)
End offset of the region to change
action (Action<(Of <(<'VisualLineElement>)>)>)
Action that changes an individual VisualLineElement.

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