http://bugs.winehq.org/show_bug.cgi?id=2057
--- Comment #13 from Dylan Smith dylan.ah.smith@gmail.com 2008-10-17 08:35:56 --- Created an attachment (id=16706) --> (http://bugs.winehq.org/attachment.cgi?id=16706) Ensure cursor is visible with redraw turned off
Here is a preliminary fix for the bug. I would need to spend more time on it to make sure it is correct, but this should at least identify the problem.
What is happening is that eMule is turning off redraw with WM_SETREDRAW so that it can make several changes and redraw the screen once. This caused a problem when the commit that caused the regression put a conditional return statement in ME_UpdateRepaint before ME_EnsureVisible in order to prevent redrawing the screen after redraw was turned off. It seems as if EM_EnsureVisible is what eMule used to scroll to the end of the text in the log, so without this being called there was no autoscrolling to the end of the text.