Helper method for splitting this line element into two, correctly updating the
VisualLength, DocumentLength, VisualColumn
and RelativeTextOffset properties.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected void SplitHelper( VisualLineElement firstPart, VisualLineElement secondPart, int splitVisualColumn, int splitRelativeTextOffset )
Protected Sub SplitHelper ( _ firstPart As VisualLineElement, _ secondPart As VisualLineElement, _ splitVisualColumn As Integer, _ splitRelativeTextOffset As Integer _ )
protected: void SplitHelper( VisualLineElement^ firstPart, VisualLineElement^ secondPart, int splitVisualColumn, int splitRelativeTextOffset )
Parameters
- firstPart (VisualLineElement)
- The element before the split position.
- secondPart (VisualLineElement)
- The element after the split position.
- splitVisualColumn (Int32)
- The split position as visual column.
- splitRelativeTextOffset (Int32)
- The split position as text offset.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238