We want a command called caret and a command called select. Both of these will
be browser object commands, so when invoked, the user is prompted to specify a
DOM node via the hints system. The caret command will enable caret-mode and
place the caret in the specified DOM node. The select command will (optionally)
enable caret-mode, and select the contents of the specified node.
|