http://bugs.winehq.org/show_bug.cgi?id=16349
--- Comment #9 from Dylan Smith dylan.ah.smith@gmail.com 2008-12-19 22:55:30 --- Created an attachment (id=18085) --> (http://bugs.winehq.org/attachment.cgi?id=18085) Reverses the change that caused the regression
I tested with the Project12.exe program, and can confirm the problem.
What is happening is that an EM_STREAMIN message is sent to the richedit control when the "b" button is pressed, but then an error seems to be occuring that is causing the program to try to send the message again in plain text.
I tested from wine-1.0 and found that there was a regression, however it wasn't working properly in that version either.
I found that the much of the text was deleted when the "b" button is pressed.
--- before --- Wine RichEdit selection bug. Click the button /b/ to make (a part of) this text Bold.
Bold is displayed as BBCode, semi WYSIWYG. --- after ---- Wine RichEdit selection bug --------------
Was this ever completely working?
I did a git-bisect and found this regression caused by commit 632015dc626f85a61165eab89c976c0fef730a9c. I am attaching a patch that reverses the part of the commit that caused this regression.
I still need to investigate this more to figure out why text is being deleted after reversing this change, and why reporting this error is causing a problem, but I figured I should report my findings so far before I head to my parent's home for Christmas holidays.