Clipboard handling is unified with the previous code in editor.c. Manual tests show trying to cut from a read-only field beeps when using WM_CUT or Ctrl+X, but not when using these APIs.
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- dlls/riched20/caret.c | 2 +- dlls/riched20/editor.c | 51 +++++++++++++++--------- dlls/riched20/editor.h | 3 +- dlls/riched20/richole.c | 46 ++++++++++++++++++---- dlls/riched20/tests/richole.c | 74 +++++++++++++++++++++++++++++++++++ 5 files changed, 148 insertions(+), 28 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=80415
Your paranoid android.
=== build (build log) ===
error: patch failed: dlls/riched20/editor.h:267 Task: Patch failed to apply
=== debiant (build log) ===
error: patch failed: dlls/riched20/editor.h:267 Task: Patch failed to apply
=== debiant (build log) ===
error: patch failed: dlls/riched20/editor.h:267 Task: Patch failed to apply