463Chapter 19 .Body Text Objects adjust the TextRangeobject (Web hosting ratings)
Sunday, July 22nd, 2007463Chapter 19 .Body Text Objects adjust the TextRangeobject to the exact specifications of the snapshot with the moveToBookmark() method (described later in this chapter). On the CD-ROM Example on the CD-ROM Related Items: TextRange.moveToBookmark() method. inRange(otherRangeRef) Returns: Boolean. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . You can compare the physical stretches of text contained by two different text ranges via the inRange()method. Typically, you invoke the method on the larger of two ranges and pass a reference to the smaller range as the sole parameter to the method. If the range passed as a parameter is either contained by or equal to the text range that invokes the method, then the method returns true; otherwise the method returns false. On the Example on the CD-ROM CD-ROM Related Items: TextRange.isEqual() method. isEqual(otherRangeRef) Returns: Boolean. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . If your script has references to two independently adjusted TextRange objects, you can use the isEqual() method to test whether the two objects are identical. This method tests for a very literal equality, requiring that the text of the two ranges be character-for-character and position-for-position equal in the context of the original ranges (for example, body or text control content). To see if one range is contained by another, use the inRange()method instead. TextRange.isEqual()
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.