http://bugs.winehq.org/show_bug.cgi?id=8330
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com
--- Comment #9 from Dylan Smith dylan.ah.smith@gmail.com 2009-03-26 08:38:14 --- (In reply to comment #6)
Yes, both winboard and the testcase work properly now.
But looking over the diffs, it occurred to me that paste probably uses the same updated routine. Using the testcase I submitted, I selected some text, hit ctrl-C and then was able to expand the limit using ctrl-V. Windows won't allow that.
Pasting in native richedit controls seems to be implemented using EM_STREAMIN, which is done in Wine. The EM_EXLIMITTEXT message is actually documented as only affecting EM_STREAMIN for streaming in rich text, and not imposing a limit on plain text.
So what still needs to be done is EM_STREAMIN needs to be modified to limit the amount of rich text added so that it doesn't get over the limit.