AvalonEdit
Insert Method (offset, text, defaultAnchorMovementType)
NamespacesICSharpCode.AvalonEdit.DocumentIDocumentInsert(Int32, ITextSource, AnchorMovementType)
Inserts text.
Declaration Syntax
C#Visual BasicVisual C++
void Insert(
	int offset,
	ITextSource text,
	AnchorMovementType defaultAnchorMovementType
)
Sub Insert ( _
	offset As Integer, _
	text As ITextSource, _
	defaultAnchorMovementType As AnchorMovementType _
)
void Insert(
	int offset, 
	ITextSource^ text, 
	AnchorMovementType defaultAnchorMovementType
)
Parameters
offset (Int32)
The offset at which the text is inserted.
text (ITextSource)
The new text.
defaultAnchorMovementType (AnchorMovementType)
Anchors positioned exactly at the insertion offset will move according to the anchor's movement type. For AnchorMovementType.Default, they will move according to the movement type specified by this parameter. The caret will also move according to the defaultAnchorMovementType parameter.

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