Add "showCursorWhenSelecting" pref

For #8957.
Exposes the CM option `showCursorWhenSelecting`.