AvalonEdit
Replace Method (offset, length, newText)
NamespacesICSharpCode.AvalonEdit.DocumentIDocumentReplace(Int32, Int32, ITextSource)
Replaces text.
Declaration Syntax
C#Visual BasicVisual C++
void Replace(
	int offset,
	int length,
	ITextSource newText
)
Sub Replace ( _
	offset As Integer, _
	length As Integer, _
	newText As ITextSource _
)
void Replace(
	int offset, 
	int length, 
	ITextSource^ newText
)
Parameters
offset (Int32)
The starting offset of the text to be replaced.
length (Int32)
The length of the text to be replaced.
newText (ITextSource)
The new text.

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