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.
http://bugs.winehq.org/show_bug.cgi?id=11126
Alexander Nicolaysen Sørnes alex@thehandofagony.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-01-15 13:48:15 --- Patch applied. I guess CHARFROMPOS could do with a related fix.
http://bugs.winehq.org/show_bug.cgi?id=11126
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dan Kegel dank@kegel.com 2008-01-28 06:13:55 --- Closing all RESOLVED FIXED bugs older than 0.9.54.
http://bugs.winehq.org/show_bug.cgi?id=11126
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified