[v3] riched20: Add support for ECO_NOHIDESEL flag
Huw Davies
huw at codeweavers.com
Fri Jul 8 05:36:17 CDT 2016
On Fri, Jul 08, 2016 at 12:32:55PM +0200, Piotr Caban wrote:
> Signed-off-by: Piotr Caban <piotr at codeweavers.com>
> ---
> dlls/riched20/editor.c | 9 +++++++--
> dlls/riched20/paint.c | 6 ++++--
> 2 files changed, 11 insertions(+), 4 deletions(-)
>
>
> diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
> index 13a2857..cb6fe3d 100644
> --- a/dlls/riched20/editor.c
> +++ b/dlls/riched20/editor.c
> @@ -3453,14 +3453,15 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
> ME_RewrapRepaint(editor);
> }
>
> + if ((changedSettings & settings & ECO_NOHIDESEL) && !editor->bHaveFocus)
> + ME_InvalidateSelection( editor );
> +
Actually on reflection, I think comparing with ES_NOHIDESEL is
slightly less confusing, so let's go with v2.
Huw.
More information about the wine-devel
mailing list