Replaces the current text range with the HTML content supplied as a parameter string. Typically, this method is used on a zero-length text range obj
Returns an object reference to the next outermost element that fully contains the TextRange object.
Collapses the text range to an insertion pointer and sets its location to the spot indicated by the horizontal and vertical coordinates in the brows
Moves the current TextRange object's start and end points to encase the specified HTML element object. The resulting text range includes the HTML for
Moves only the end or start point (respectively) of the current text range by one or more units. An optional parameter lets you specify both the num
Collapses the current text range to an insertion point at the end of the current range and moves it forward or backward from the current position by
Determines whether the comparison range is identical to the current text range.
Determines whether the comparison range is within or equal to the physical range of the current text range.
These two methods work together as a way to temporarily save a text range specification and restore it when needed. The getBookmark( ) method retu
Searches the current TextRange object for a match of a string passed as the required first parameter. By default, matching is done on a case-insen
Expands the current text range (including a collapsed range) to encompass the textual unit passed as a parameter. For example, if someone selects so
Executes the named command on the current TextRange object. Many commands work best when the TextRange object is an insertion point.
Creates a new TextRange object with the same values as the current range. The new object is an independent object (the old and new do not equal ea
Compares the relative position of the boundary (start and end) points of two ranges (the current range and one that had been previously saved to a v