public void previousWord ()

Moves the caret to the beginning of previous word. This function also has the effect of clearing the selection.