AvalonEdit
SetLineLength Method (line, newTotalLength)
NamespacesICSharpCode.AvalonEdit.DocumentILineTrackerSetLineLength(DocumentLine, Int32)
Is called immediately before a document line changes length. This method will be called whenever the line is changed, even when the length stays as it is. The method might be called multiple times for a single line because a replacement is internally handled as removal followed by insertion.
Declaration Syntax
C#Visual BasicVisual C++
void SetLineLength(
	DocumentLine line,
	int newTotalLength
)
Sub SetLineLength ( _
	line As DocumentLine, _
	newTotalLength As Integer _
)
void SetLineLength(
	DocumentLine^ line, 
	int newTotalLength
)
Parameters
line (DocumentLine)
newTotalLength (Int32)

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