FastColoredTextBox.InsertTextAndRestoreSelection Method

T3000 CrossPlatform

FastColoredTextBoxInsertTextAndRestoreSelection Method

[This is preliminary documentation and is subject to change.]

Insert text into replaceRange and restore previous selection

Namespace:  FastColoredTextBoxNS
Assembly:  FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public virtual Range InsertTextAndRestoreSelection(
	Range replaceRange,
	string text,
	Style style
)
Public Overridable Function InsertTextAndRestoreSelection ( 
	replaceRange As Range,
	text As String,
	style As Style
) As Range

Dim instance As FastColoredTextBox
Dim replaceRange As Range
Dim text As String
Dim style As Style
Dim returnValue As Range

returnValue = instance.InsertTextAndRestoreSelection(replaceRange, 
	text, style)

Parameters

replaceRange
Type: FastColoredTextBoxNSRange

[Missing <param name="replaceRange"/> documentation for "M:FastColoredTextBoxNS.FastColoredTextBox.InsertTextAndRestoreSelection(FastColoredTextBoxNS.Range,System.String,FastColoredTextBoxNS.Style)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:FastColoredTextBoxNS.FastColoredTextBox.InsertTextAndRestoreSelection(FastColoredTextBoxNS.Range,System.String,FastColoredTextBoxNS.Style)"]

style
Type: FastColoredTextBoxNSStyle

[Missing <param name="style"/> documentation for "M:FastColoredTextBoxNS.FastColoredTextBox.InsertTextAndRestoreSelection(FastColoredTextBoxNS.Range,System.String,FastColoredTextBoxNS.Style)"]

Return Value

Type: Range

[Missing <returns> documentation for "M:FastColoredTextBoxNS.FastColoredTextBox.InsertTextAndRestoreSelection(FastColoredTextBoxNS.Range,System.String,FastColoredTextBoxNS.Style)"]

See Also