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.
Implementation
external void setBaseAndExtent(
Node anchorNode,
int anchorOffset,
Node focusNode,
int focusOffset,
);