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

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