Monday, May 01, 2006

Intermediate Essentials of Textrange Methods in Javascript

In answa' to yo queries, yo majestee massah, dig dis:

Collapse(false) collapses de texrange to the end, it be collapsible bod to de end o' to de start.

Alternatives t'movestart, moveEnd, dig dis: be move, movetobookmark, setendpoint. Man! De setendpoint be deceppivly named, massa. It be useable fo settin de beginpoint also. 'S coo', bro.

De 'expand() medod be only returnin some boolean value, massah Dey be no way t''spand de textrange backwards, massah.

De getbookmark be alwez signifyin de start point of de textrange bookmarked, massah.

Dey be a medod dat massah may not ha' dought of in his previous brillian honky code. Dey be, dig dis: setendpoint, which be settin de start o' end uh a textrange t'de start o' end uh anoda' textrange, it be deceptively named;

Dey be a medod dat seem t'be useful but sometimes aint. Man! De findtext be returnin some boolean value, it be movin de range t'de text dat be found in de text. Man!




@2006 David Virgil Hobbs

0 Comments:

Post a Comment

<< Home

SM
GA
SC