Huw Davies : riched20: Move underline drawing to a common function.