richedit: Add helpers for setting cursor to start/end of text.