Update the selected range whenver the cursor position changes.