AvalonEdit
GetPrecedingText Method (visualColumnLimit, context)
NamespacesICSharpCode.AvalonEdit.RenderingVisualLineElementGetPrecedingText(Int32, ITextRunConstructionContext)
Retrieves the text span immediately before the visual column.
Declaration Syntax
C#Visual BasicVisual C++
public virtual TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
	int visualColumnLimit,
	ITextRunConstructionContext context
)
Public Overridable Function GetPrecedingText ( _
	visualColumnLimit As Integer, _
	context As ITextRunConstructionContext _
) As TextSpan(Of CultureSpecificCharacterBufferRange)
public:
virtual TextSpan<CultureSpecificCharacterBufferRange^>^ GetPrecedingText(
	int visualColumnLimit, 
	ITextRunConstructionContext^ context
)
Parameters
visualColumnLimit (Int32)
context (ITextRunConstructionContext)
Remarks
This method is used for word-wrapping in bidirectional text.

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