[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1TextRange.Select

Select Method

Select()

Moves selection to the current text range.

Declaration
public void Select()
Examples

The following example replaces the selected text with a new value and moves selection to the end of the new text.

C1TextRange range = _editor.Selection.Clone();
range.Text = value;
//after inserting text we must collapse selection to the end
range.Normalize();
range.Start.MoveTo(range.End);
range.Select();