http://bugs.winehq.org/show_bug.cgi?id=11126
Summary: EM_POSFROMCHAR does not include selectionbar Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: richedit AssignedTo: wine-bugs@winehq.org ReportedBy: alex@thehandofagony.com
When the ECO_SELECTIONBAR style is set for a richedit control, EM_POSFROMCHAR should include the selection bar size. However, sending EM_POSFROMCHAR for character 0 returns 0 as the x co-ordinate with Wine's richedit.
I'll see if I can't fix this myself.
As for a testcase, this will be noticeable in builtin wordpad once I send the first ruler patch. The left position of the ruler is determined using POSFROMCHAR, so with native richedit it will be moved a distance from the leftmost window edge, while with builtin it won't.