This matches the behavior from 42ad1a9e04 but for the first and last change. The selection rules are the same as for goto_next/prev_change: additions and modifications select the added and modified range while deletions are represented with a point.
42ad1a9e04