Select a part of text. This is preferred to setting selectionStart & selectionEnd directly, since the two properties are synchronized together and a change might be ignored.
See Implementation
Select a part of text. This is preferred to setting selectionStart & selectionEnd directly, since the two properties are synchronized together and a change might be ignored.