http://bugs.winehq.org/show_bug.cgi?id=8330
------- Additional Comments From emwine@earthlink.net 2007-10-05 16:11 ------- I was wrong, the EM_EXLIMITTEXT does make a difference. Pre: 32767 EM_LIMITTEXT 0, 100000 POST: 100000
I ran the same code in Windows, and got the exact same results (pre=32767, post=100000). This tells me that the default setting isn't the problem. Maybe Windows doesn't respect the limit unless it's been explicitly set?? That seems odd, else why would EM_GETLIMITTEXT return 32767 in Windows?
It's puzzling. I guess all I can say for sure is that using native solves the problem, and so does running in Windows. I even tried it in windows 95 to see if the NT kernal had an effect. Even in 95, the app doesn't freeze at 32767, despite that's what the limit is returned by EM_LIMITTEXT.