changelog: - EM_CHARFROMPOS should return the closest char (clicking on the first half of a character should return current char and clicking on the second half should return next char) - EM_POSFROMCHAR should return -1 if character index is greater or equal to text length