Try 3 fixes copying from a password masked richedit control, and gets tests to pass.
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 | 53 ++++++++++++++++--------- dlls/riched20/editor.h | 3 +- dlls/riched20/richole.c | 46 ++++++++++++++++++---- dlls/riched20/tests/richole.c | 74 +++++++++++++++++++++++++++++++++++ 5 files changed, 149 insertions(+), 29 deletions(-)