setBaseAndExtent method
The setBaseAndExtent()
method of the Selection interface sets the
selection to be a range including all or parts of two specified DOM nodes,
and any content located between them.
The anchor and focus nodes can be located in a , if supported by the browser.
Implementation
external void setBaseAndExtent(
Node anchorNode,
int anchorOffset,
Node focusNode,
int focusOffset,
);