Does webos implement HTML 5's text selection API? For example:

window . getSelection()
document . getSelection()

And then:

Range getRangeAt(in long index);
void addRange(in Range range);
void removeRange(in Range range);
void removeAllRanges();