Using the Range object

Select some text using the mouse.