[PATCH 4/5] riched20: Use helpers in the cursor to start/end functions.