[Bug 4144] Numerous RichText problems

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 30 10:03:04 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=4144





--- Comment #17 from Alex Villacís Lasso <a_villacis at palosanto.com>  2008-04-30 10:03:04 ---
Created an attachment (id=12594)
 --> (http://bugs.winehq.org/attachment.cgi?id=12594)
richedit: Add tests for EM_FINDTEXT in 1.0 emulation, make them pass under Wine

EM_FINDTEXT and EM_FINDTEXTEX have different rules for interpreting ranges for
1.0 and 2.0 modes:

In 1.0 emulation cpMin > cpMax is invalid and always fails.
In 1.0 emulation, search is always done between cpMin and cpMax, even backwards
search.
In 1.0 emulation, cpMax == -1 assumes FR_DOWN, even if not set.

This goes a long way towards resolving richedit search problems exposed by test
app. Patch already sent to wine-patches.

Changelog:
* Add tests for EM_FINDTEXT in 1.0 emulation, make them pass under Wine


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list