This method selects a range as the current selection of the document.
Defined in
Syntax
public void setRange( TextRange start, TextRange end )
Parameters
TextRange start
Specifies the starting position of the selection.
TextRange end
Specifies the ending position of the selection.
See examples