preserve cursor text in other highlight groups