Static method that returns the proper type of browser range.
Parameters | startNode | (Node|null) | | The node to start with.
| startOffset | number | | The offset within the node to start. This is
either the index into the childNodes array for element startNodes or
the index into the character array for text startNodes.
| endNode | (Node|null) | | The node to end with.
| endOffset | number | | The offset within the node to end. This is
either the index into the childNodes array for element endNodes or
the index into the character array for text endNodes.
|
|
---|
Returns | |
---|