Try 2 passes the right ME_TextEditor instance to textrange_move*() functions from ITextSelection_fnMoveStart/End().
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- dlls/riched20/richole.c | 77 ++++++++++++++++++++++++--- dlls/riched20/tests/richole.c | 98 ++++++++++++++++++++++++++++++++++- 2 files changed, 166 insertions(+), 9 deletions(-)
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=77307
Your paranoid android.
=== w1064v1809 (32 bit report) ===
riched20: richole.c:339: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x1200 Codepage:CP_UTF8 hres:0x80070005 richole.c:331: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x600 Codepage:CP_ACP hres:0x80070005 richole.c:339: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x600 Codepage:CP_UTF8 hres:0x80070005 richole.c:331: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x700 Codepage:CP_ACP hres:0x80070005 richole.c:339: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x700 Codepage:CP_UTF8 hres:0x80070005 richole.c:331: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x500 Codepage:CP_ACP hres:0x80070005 richole.c:339: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x500 Codepage:CP_UTF8 hres:0x80070005 richole.c:331: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x300 Codepage:CP_ACP hres:0x80070005 richole.c:339: Test failed: ITextDocument_Open: Filename:test.txt Flags:0x300 Codepage:CP_UTF8 hres:0x80070005 richole.c:347: Test failed: ITextDocument_Open should success Codepage:CP_ACP richole.c:348: Test failed: ITextDocument_Open should create a file richole.c:354: Test failed: ITextDocument_Open should success Codepage:CP_UTF8 richole.c:355: Test failed: ITextDocument_Open should create a file richole.c:361: Test failed: ITextDocument_Open should success Codepage:CP_ACP richole.c:362: Test failed: ITextDocument_Open should create a file richole.c:368: Test failed: ITextDocument_Open should success Codepage:CP_UTF8 richole.c:369: Test failed: ITextDocument_Open should create a file