Table of Contents

Method SetSelectedText

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

SetSelectedText(string, SelectionType)

Replaces SelectedText by specified text.

public void SetSelectedText(string text, SelectionType selType)

Parameters

text string

New value of SelectedText.

selType SelectionType

New type of selection.

SetSelectedText(string, SelectionType, bool)

Replaces SelectedText by specified text.

public virtual void SetSelectedText(string text, SelectionType selType, bool moveToEnd)

Parameters

text string

New value of SelectedText.

selType SelectionType

New type of selection.

moveToEnd bool

Specifies whether cursor should move to the end of the selection.