[whatwg] Standard method to get/set caret position
gkilwein at fbsdata.com
Fri Nov 12 09:03:45 PST 2004
>> The second situation is an application that would like to highlight text
>> in a text box or textarea for the purposes of a spell check, thesaurus,
>> or search-and-replace operation.
> In this case you want more of a highlighting API than a selecting API,
> though, right?
Yes. If it were possible, highlighting could be accomplished by styling a
portion of the text in the textbox or textarea, which gets into the realm of
the rich text box.
More information about the whatwg