Add extended mode selection.

Particularly useful for cobol since this mode allow to select entire word, even if there is a dash in the middle ( FOO-BAR -> FOO, - and BAR will be selected by a double click).