Retrieves the text span immediately before the visual column.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText( int visualColumnLimit, ITextRunConstructionContext context )
Public Overrides Function GetPrecedingText ( _ visualColumnLimit As Integer, _ context As ITextRunConstructionContext _ ) As TextSpan(Of CultureSpecificCharacterBufferRange)
public: virtual TextSpan<CultureSpecificCharacterBufferRange^>^ GetPrecedingText( int visualColumnLimit, ITextRunConstructionContext^ context ) override
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