Huw Davies : riched20: Use helpers in the cursor to start/end functions.