richedit: Make the ME_GetCursorOfs function more flexible.

This function will make it easier to work with ME_Cursor objects, which
should be used in a lot of places instead of character offsets (which
often require seeking through the linked lists to perform operations
with).
4 files changed