http://bugs.winehq.org/show_bug.cgi?id=14523
--- Comment #2 from Dylan Smith dylan.ah.smith@gmail.com 2008-07-17 10:57:56 --- Created an attachment (id=14868) --> (http://bugs.winehq.org/attachment.cgi?id=14868) richedit: Fixed regression that caused endless loop
Large tab sizes were causing a single tab to wrap, but the start rows were being inserted before the tab, even if it was at the start of the row. In this case the tab should be inserted after the tab, otherwise an endless loop occurs, so this patch takes this approach to fix the bug.
The large tab sizes that cause this problem weren't a result of this regression, but can be seen by looking at the end user licence to see the tab sizes. This is most likely a missing conversion from twips to pixels when streaming rich text.